Search
Lessons (35)
- Scaling, Load Balancing & Rate Limiting
… Each step solves a real, measured bottleneck. Load balancers A load balancer spreads requests across healthy servers and …
- Domains, Load Balancers and HTTPS
… app.example.com] -- D[Route 53 DNS] D -- A[Application Load Balancer] A -- T[Healthy app target] Route …
- Networking, DNS and Traffic Routing
… how DNS finds you, how load balancers and proxies pick a healthy server, and why switching away from …
- CQRS & Event Sourcing
… 42, balance: 120 } Handling a command js async function withdraw(accountId, amount) { const history = await eventStore.load( account …
- VPC Networking Without the Confusion
… load balancer] ALB -- APP[Private subnet: app] APP -- DB[Private subnet: database] “Public” does not mean a subnet …
- ACID, Transactions & Locks
… Retry the victim transaction Even well-designed systems see occasional deadlocks under heavy load. Catch the deadlock error …
- Structural Patterns: How to Connect Objects
… lazy loading, caching, access control, logging, validation. js const user = { name: "Ana", role: "user", balance: 100 }; // JavaScript has …
- JavaScript Essentials: Event Loop, Closures & this
… Private state (nobody outside can touch balance ) function createAccount() { let balance = 0; return { deposit: (amount) = (balance += amount), getBalance …
- Services and Ingress: Let Traffic Find Your App
… Default; app-to-app traffic LoadBalancer Cloud creates a public load balancer Directly expose one service NodePort Opens …
- Practical Project: Deploy a Real CRM App on EKS
… IAM, VPC, ECR, EKS, RDS, Secrets Manager, load balancing and CI/CD. By the end you should be …
- EC2, Storage and Auto Scaling
… For a real app, use the HTTPS load-balancer pattern in the next lesson. Expected result: the heading …
- Containers at Scale: ECS Deep Dive and EKS
… canary patterns and CloudWatch alarm rollback. - Set a load balancer health check grace period for slow-starting apps …
- How a Web Request Works
Follow one click from the browser to the server and back, through DNS, TCP, TLS, HTTP, load balancers …
- Caching & Redis
… CDN["CDN edge<br/ images, JS, pages"] -- LB[Load balancer] -- App["App server<br/ in-memory cache"] -- R …
- API Gateway, BFF & Service Discovery
… side discovery The client asks the registry and load-balances itself Netflix Eureka, Consul + client library Server-side …
- Cluster Networking, DNS and NetworkPolicies
… Node IP and a high port LoadBalancer A cloud load balancer ExternalName A DNS CNAME to an outside …
- AWS: Start Here
… an idle virtual machine, load balancer, database, or NAT gateway can still cost money. Storage can continue to …
- Capacity, Availability, Latency and CAP
… balance. The fix in three rules Rule 1: Do the numbers, starting from the peak Average load: 20 …
- Node.js and Express
… Take it on one instance pulled out of the load balancer, never on the whole fleet at once …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… Hashed to choose the storage partition; must spread load evenly Sort key (SK) Orders items inside a partition …
- System Design Interview Framework
… The candidate starts drawing boxes right away: "Load balancer, Kafka, Cassandra, Redis..." 2. After 20 minutes, the interviewer …
- Cost Optimization and the Well-Architected Framework
… unused EC2, unattached EBS volumes, old snapshots, idle load balancers, dev environments running overnight. 2. NAT gateway data …
- Resilience Patterns
… Load balancers and Kubernetes use these to route around sick instances. (See Kubernetes → Health Probes .) Putting it together …
- CloudWatch: Know What Your App Is Doing
… 5xx errors or failed Lambda invocations - no healthy load balancer targets - queue age growing too high - database storage …
- Topics, Partitions & Offsets
… can be bigger than one disk). - Spread the load : writes and reads for different partitions happen on different …
- Run Containers on AWS with ECR and ECS
… T -- S[ECS service on Fargate] S -- A[Load balancer] ECR stores container images. ECS runs them. Fargate …
- Month 1: Data, Math Intuition and Classic ML (Weeks 1-4)
… 4. Thursday: Load a real estate dataset (Kaggle "House Prices" or your own export). Answer five business questions …
- Go Web Services with Gin
… DB and HTTP call; health endpoint for the load balancer - [ ] Graceful shutdown on SIGTERM ; build a small static …
- AWS Interview Questions: Clear Answers
… load balancer errors, latency, healthy targets, and database pressure. I compare the time with traffic and deployment changes …
- AWS Databases: Choose the Right One
… the app checks the cache, loads the database on a miss, and stores the result with an expiry …
- Linux Troubleshooting Playbook & Interview Questions
… For slowness: uptime for load average, htop for CPU and memory per process, free -h and dmesg for …
- Month 6: Reliability, Security, Fine-Tuning and Production (Weeks 21-24)
… Clean, remove duplicates, balance classes, and split into train, validation and test. - LoRA trains small add-on matrices …
- Backend Design Scenarios
… Use a CDN for static assets and cacheable public data, and route traffic with a global load balancer …
- Kafka for Backend Services
… value Set absolute values ( status = 'PAID' ), not increments ( balance = balance + 10 ) Upsert a read model INSERT ... ON CONFLICT …
- Collaborative Document Editing & Real-Time Sync
… A load balancer sends each document to the server that owns it. That server orders edits, saves them …