Search
Lessons (15)
- Kubernetes Cluster Architecture
… The control plane (API server, etcd, scheduler, controllers) and the worker nodes (kubelet, container runtime, kube-proxy), and …
- Pods
… requests: guaranteed minimum, used for SCHEDULING cpu: "250m" 0.25 of a CPU core memory: "256Mi" limits: maximum …
- Design a Polite Web Crawler
… normalize, deduplicate and schedule per host. ![Crawler: a URL frontier schedules polite fetches while deduplication and storage process …
- Heaps & Priority Queues
… The engine behind "top K" problems, schedulers and Dijkstra. The big idea In a hospital emergency room, patients …
- Deployments, ReplicaSets & Rollouts
… migrations, batch processing Retries until it succeeds CronJob Scheduled jobs: nightly reports, cleanups Creates Jobs on a cron …
- Scaling & Health Probes
… When nodes are underused, it drains and removes them. mermaid sequenceDiagram participant HPA participant S as Scheduler participant …
- Debug Latency Like an Investigator
… subset. Every morning Batch reports, backup, cache expiry, scheduled work. Restart helps briefly Warm cache, leak, churn, periodic …
- Stacks & Queues
… Two simple structures behind undo buttons, browser history, task scheduling and many interview problems. The big idea ![A …
- Why Kubernetes?
… rollback "Which server has space?" Spreadsheets and guesswork Scheduler places containers by CPU/memory needs Service A needs …
- Serverless Architecture
… JSON.stringify(result) }; }; When to use it ✅ Spiky or unpredictable traffic, event processing (uploads, queues, webhooks), scheduled jobs …
- Data in Microservices: Sagas & the Outbox Pattern
… Release stock 3 Charge card Refund card 4 Schedule shipment (last step: nothing after it can fail) ⚠️ Compensation …
- Linked Lists
… linked list + hash map), undo stacks, OS task scheduling. Technique 1: Traverse js function toArray(head) { const values …
- 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 …
- Frontend Performance & Core Web Vitals
… tasks: yield to the browser between chunks ( await scheduler.yield() or setTimeout ). - Move heavy work off the main …
- Structural Patterns: How to Connect Objects
… card, cart.total); const shipment = await this.shipping.schedule(cart.items, customer.address); await this.mailer.sendConfirmation(customer …