Search
Lessons (14)
- Scaling, Load Balancing & Rate Limiting
… Each step solves a real, measured bottleneck. Load balancers A load balancer spreads requests across healthy servers and …
- Networking, DNS and Traffic Routing
Understand the request path from OSI layers and DNS through load balancers, anycast and reverse proxies. ![Traffic routing …
- Services & Ingress
… a stable name and IP that load-balances across a changing set of pods. An Ingress is the …
- CQRS & Event Sourcing
… 42, balance: 120 } Handling a command js async function withdraw(accountId, amount) { const history = await eventStore.load( account …
- Structural Patterns: How to Connect Objects
… lazy loading, caching, access control, logging, validation. js const user = { name: "Ana", role: "user", balance: 100 }; // JavaScript has …
- Why Kubernetes?
… B Hard-coded IP addresses Service discovery and load balancing built in Passwords and config Baked into images …
- JavaScript Essentials: Event Loop, Closures & this
… Private state (nobody outside can touch balance ) function createAccount() { let balance = 0; return { deposit: (amount) = (balance += amount), getBalance …
- How a Web Request Works
Follow one click from the browser to the server and back, through DNS, TCP, TLS, HTTP, load balancers …
- API Gateway, BFF & Service Discovery
… side discovery The client asks the registry and load-balances itself Netflix Eureka, Consul + client library Server-side …
- Caching & Redis
… CDN["CDN edge<br/ images, JS, pages"] -- LB[Load balancer] -- App["App server<br/ in-memory cache"] -- R …
- Resilience Patterns
… Load balancers and Kubernetes use these to route around sick instances. (See Kubernetes → Health Probes .) Putting it together …
- Kubernetes Cluster Architecture
… load balancers, disks, node lifecycle Facilities team dealing with landlords ⚠️ etcd is the heart. Lose etcd without a …
- Topics, Partitions & Offsets
… can be bigger than one disk). - Spread the load : writes and reads for different partitions happen on different …
- Scaling & Health Probes
… isShuttingDown = true; // readiness now returns 503 setTimeout(() = { // give load balancers a moment to notice server.close(() = process.exit …