Search
Lessons (40)
- Go Concurrency: Goroutines, Channels and Context
… about one goroutine per CPU core keeps them all busy Goroutines A goroutine is a function that runs …
- Backend Languages: Node.js, Go, Python & Rust
… thousands of goroutines"] S{{Go scheduler}} -- G1[goroutine] & G2[goroutine] & G3[goroutine] & G4[goroutine …] S -- C1[CPU core …
- Go Fundamentals
… small language, fast compiler, one static binary](/img/languages/go-overview.svg) Where Go shines Good fit Why …
- Go Web Services with Gin
Build a production-shaped HTTP API in Go: net/http basics, Gin routes and groups, binding and validating …
- Distributed Coordination: Consensus, Heartbeats and Gossip
… Here is what goes wrong, step by step: 1. S1 freezes for 20 seconds (a long garbage-collection …
- Certifications Worth Getting
… Pair every certificate with a project that uses the same skills. Cloud Certification Level Good for --- --- --- AWS Certified …
- Choosing a Programming Language
… return sum(x for x in xs if x % 2 == 0) go // Go func SumEvens(xs []int) int …
- YAGNI: You Aren't Gonna Need It
… 🩳 👕 🪥"] YAGNI = You Aren't Gonna Need It. It comes from Extreme Programming (XP): 📘 "Always implement things …
- Questions to Ask: "Do You Have Any Questions for Us?"
… Seven strong questions to copy, and how to use them. Don't say "No, I'm good" At …
- Design a URL Shortener
… It goes viral : 10,000 clicks per second . Here is what goes wrong, step by step: 1. Every …
- Multi-Account Strategy, Governance and Security Operations
… redeploy from known-good infrastructure as code. 5. Learn : write the blameless post-mortem and add a guardrail …
- CI/CD Fundamentals and Pipeline Design
… continuous integration vs delivery vs deployment, the stages of a good pipeline, artifacts and promotion, branching strategies, deployment …
- Capacity Planning, SLOs and Error Budgets
Turn fuzzy goals like 'it must be fast and reliable at scale' into clear numbers: how much traffic …
- Caching, Consistent Hashing and Sharding
… Here is what goes wrong: 1. Every read goes to the database, which can't keep up. 2 …
- Database Internals, Replication and Scaling
… writes go into memory, then get flushed to disk as new sorted files in one go. Very fast …
- Proxies, APIs and Real-Time Protocols
… Here is what goes wrong: 1. They send orders over the live map connection (a WebSocket). The phone …
- Design a Polite Web Crawler
Visit huge numbers of web pages without going in circles or flooding any one website: clean up URLs …
- What Are Design Patterns?
… 4. Name it in code. PaymentStrategy or OrderEventEmitter tells readers what's going on. mermaid flowchart LR A …
- Releases, Observability and Production Safety
… Here is what goes wrong, step by step: 1. The release starts with a database change that renames …
- Extending Kubernetes: CRDs, Operators and Admission
… Build your own with: Tool Language Notes --- --- --- Kubebuilder / controller-runtime Go Standard choice Operator SDK Go, Ansible, Helm …
- System Design Interview Framework
… Here is how it often goes wrong: 1. The candidate starts drawing boxes right away: "Load balancer, Kafka …
- Storage, Search and Location Queries
… Files go to object storage, facts go to the database - Photo bytes go to object storage. - Facts about …
- Multi-Region and Disaster Recovery
… Then Region A goes completely dark. Here is what goes wrong: 1. The orders placed in A's …
- Comments & Formatting
… const PAYMENT MAX RETRIES = 3; That second comment is gold: no amount of good naming could tell you …
- Networking, DNS and Traffic Routing
… The reverse proxy reads the request: - /api/... goes to the API server pool, - /images/... goes to the CDN …
- Deploying & Operating Microservices
… the curtain drops for a moment, the crew swaps pieces, and the show goes on. The audience barely …
- Design a File Storage Service
Let big files go straight to cheap file storage, while your own server keeps track of who owns …
- Authentication, Authorization & API Security
… Click "Log in with Google" App- U: redirect to Google (+ PKCE challenge) U- G: log in + consent G …
- Month 4: RAG and Knowledge Systems (Weeks 13-16)
… hits = sum(1 for got, want in zip(results, expected) if want & set(got[:k])) return hits / len …
- Message Delivery: Queues, Kafka, Ordering and DLQs
… Here is what goes wrong: 1. The shipment service reads message 500 and creates the shipment . 2. Before …
- From Software Architect to AI Architect: The 24-Week Plan
… AI security and governance mermaid flowchart TB G["Governance: security, evals, audit, cost controls"] A["Application: APIs, UI …
- Which Pattern Do I Need?
… when patterns go wrong Anti-pattern What it looks like Better --- --- --- Patternitis AbstractSingletonProxyFactoryBean for a one-off task …
- Graphs: BFS & DFS
… General graphs can have cycles , many paths and disconnected parts . Graphs are everywhere Real world Nodes Edges --- --- --- Google …
- What to Learn in AI, and in What Order
… Then explore the model family relevant to your goal. 5. Generative AI: Learn tokens, transformers, context windows, prompting …
- Design a Ride-Sharing Service
… Here is what goes wrong, step by step: 1. Both requests ask the map: "which drivers are near …
- Resilient Service Calls: Retries, Breakers and Load Shedding
… 30 s), it goes half-open . Half-open Only a few test calls go through. Tests succeed, so …
- Observability: Logs, Metrics & Traces
… Learn the three pillars, the golden signals, SLOs and OpenTelemetry. The big idea A car dashboard shows your …
- Data Structures for Scale
… Here is what goes wrong, step by step, if you do it the simple way: 1. "Nearby drivers …
- Meaningful Names
… If it says winter-jackets , you don't. ![Good names are labels that tell you what is inside …
- Payment Retries: Prevent Duplicate Charges
… Here is what goes wrong: 1. The app asks the payment company to charge the card. 2. The …