Search
Lessons (28)
- EC2, Storage and Auto Scaling
… Then let the Auto Scaling group create matching instances in multiple AZs. One virtual server, explained through the …
- Health Checks and Scaling
… CPU usage. yaml apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: shop-api spec: scaleTargetRef: apiVersion: apps/v1 kind …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… demand capacity for unpredictable traffic and provisioned with auto scaling for steady traffic. Useful features Feature Use --- --- TTL …
- GitOps, Progressive Delivery and Observability
… queue length, Kafka lag, cron, with scale to zero Cluster Autoscaler / Karpenter Node count; Karpenter picks the cheapest …
- Architecture Patterns at Scale
… Extract a service only when independent scaling, releases or ownership justify its network and operational costs. 3. Use …
- Database Internals, Replication and Scaling
… More replicas do not increase the single-writer write budget automatically. Check your understanding Which read endpoints need …
- Containers at Scale: ECS Deep Dive and EKS
… scaler requests ten replicas. Some remain Pending. Increasing the desired replica count does not create compute automatically: inspect …
- Serverless Architecture
… you write functions, the cloud runs them when an event happens , scales them automatically (even to zero), and …
- Choosing an Architecture
… rules Hexagonal / Clean / Onion Independent team autonomy Modular monolith → microservices Elastic scaling of hotspots Microservices or serverless for …
- Scaling, Load Balancing & Rate Limiting
… At 2,000 customers you can either: - Give the barista a faster espresso machine → vertical scaling (scale up …
- Monolith vs Microservices
… once Each service independently ✅ Scale The whole app Only the busy services ✅ Team autonomy Teams step on each …
- Resilience, Disaster Recovery and Multi-Region Design
… Example failure Defence --- --- --- Instance / task Crash, bad deploy Auto Scaling, health checks, rollback Availability Zone Power or network …
- Backend Design Scenarios
… Make the application tier stateless and scale it horizontally with autoscaling based on requests, latency and queue depth …
- Deployments: Keep Your App Running
… Watch the rollout status before calling a release successful. Scale by hand bash kubectl scale deployment/shop-api …
- AWS Databases: Choose the Right One
… Allow its port only from the app security group. Feature Why it matters --- --- Automated backups Recover to an …
- 10,000 Users Do Not Need 10,000 Database Connections
A practical mental model for connection pools, database pressure, query latency and safe scaling in Node.js applications …
- Caching, Consistent Hashing and Sharding
… understanding Why does adding ten cache nodes not automatically solve one hot key? --- Concepts and implementation details Three …
- Vertical Slice Architecture & the Modular Monolith
… 4. Modules communicate through public APIs or in-process events. 5. Enforce boundaries automatically , or they will erode …
- L6 Production Debugging Casebook
… See [database scaling](./database-internals-and-scaling). Reusable incident worksheet For any production symptom, record: 1. Impact: which …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… The worker itself: python @celery.task( bind=True, acks late=True, acknowledge AFTER success autoretry for=(TransientError,), retry …
- What to Learn in AI, and in What Order
… automatically a better system. What you can postpone You do not need to train a frontier-scale model …
- Consumers & Consumer Groups
… analytics"] C3[consumer 1] end P0 & P1 -- C1 P2 & P3 -- C2 P0 & P1 & P2 & P3 -.- C3 Scaling a …
- Capacity Planning, SLOs and Error Budgets
Turn vague scale requirements into traffic, latency, availability and cost decisions that a team can operate. The problem …
- Internals, Upgrades, Resilience and Interview Questions
… The cost is extra complexity and resource use, so adopt it when you need those features at scale …
- Docker & Containers
… When you have dozens of containers across many machines and need auto-restarts, scaling and zero-downtime deploys …
- Practical Project: Deploy a Real CRM App on EKS
… Kubernetes pods on EKS Self-healing, rolling updates, scaling Persistent data RDS PostgreSQL Pods are disposable; data must …
- VPC Endpoints, Transit Gateway and Hybrid Networking
… routing is not automatic isolation Imagine production, staging, and shared-services VPCs. Document which pairs should communicate before …
- AWS Interview Questions: Clear Answers
… If the app needs more copies, I verify autoscaling limits and database capacity rather than scaling blindly. I …