Search
Lessons (40)
- Capacity, Availability, Latency and CAP
… a design chooses latency targets, availability targets and a partition-time consistency policy](/img/system-design-l6/capacity …
- Developer Learning Plan and Document-Assistant Capstone
… 7. Operate it: cap request size, retrieval count, generation length, retries, and elapsed time. Monitor quality and latency …
- Capacity Planning, SLOs and Error Budgets
… Request-based budgets capture that; time-based budgets treat every minute the same. How to prove it works …
- Production Capstone and Interview Practice
Combine modules, isolated environments, remote state, tests, and reviewed delivery in a production-style storage project. Build a …
- Binary Search
… If capacity C works, every bigger capacity works too, so the condition flips once. Binary search the capacity …
- EC2, Storage and Auto Scaling
… operating system, updates, application, and capacity are your responsibility. Use EC2 when you need server control. For a …
- Containers at Scale: ECS Deep Dive and EKS
… more Pods but no capacity The API's horizontal scaler requests ten replicas. Some remain Pending. Increasing the …
- Backend Design Scenarios
… Read replicas copy data and increase read capacity but do not increase primary write capacity. Sharding splits ownership …
- Database Internals, Replication and Scaling
… Then: - Add a missing index, or fix a query returning far more rows than needed. - Cap the connection …
- Storage Engines & Database Operations
… Bound pool size, reserve capacity for critical traffic, set deadlines and investigate long transactions or slow queries. Backups …
- Month 6: Reliability, Security, Fine-Tuning and Production (Weeks 21-24)
… 5. Friday: Write the capstone architecture document: diagram, data flow, security, cost estimate and eval plan. Capstone: Lead …
- Pods: Where Your App Actually Runs
… A random large request wastes capacity; no request makes scheduling and autoscaling less reliable. Four debugging commands to …
- Resilience, Disaster Recovery and Multi-Region Design
… Pre-provision capacity rather than depending on scaling during an AZ failure. - Use timeouts, retries with exponential backoff …
- Go Fundamentals
… how many elements you can use, - a capacity ( cap ): how much room there is before Go must allocate …
- Arrays & Strings
… mermaid flowchart LR A["capacity 4<br/ ■■■■ full"] -- push → copy to bigger B["capacity 8<br/ ■■■■■□□□"] B -- 3 …
- SQL vs NoSQL Databases
… The CAP theorem : when the network between servers breaks (a P artition), a distributed database must choose between …
- Monitoring, Logs & Backups
… journalctl --vacuum-size=500M cap the journal's total size Make the cap permanent in /etc/systemd/journald …
- Resources, QoS and Scheduling Control
… Scoring prefers nodes by spread, image locality and free capacity. Requests and limits yaml resources: requests: cpu: 250m …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… Retries wait longer each time, with random extra waits, and a shared rate limit (a cap on calls …
- Premiere-Night Video Streaming
… Plus origin limits cap how many fetches can reach the origin at once. Adaptive bitrate (the player dropping …
- Resilient Service Calls: Retries, Breakers and Load Shedding
… If they succeed, traffic returns slowly. - ✅ Bounded concurrency (a cap on how many calls run at once) means …
- RBAC and Cluster Security
… true capabilities: drop: ["ALL"] Avoid privileged: true , hostNetwork , hostPID , and hostPath mounts unless you truly need them. Pod …
- Code Profiling
… log private order data just to debug performance. Capture a CPU profile For a local or safely isolated …
- CloudWatch: Know What Your App Is Doing
… rollback or restore capacity. 5. Verify a real order path and watch recovery metrics. 6. Record cause and …
- Scaling, Load Balancing & Rate Limiting
… retry only idempotent requests or requests with an idempotency key, cap attempts, and use backoff with jitter. During …
- What to Learn in AI, and in What Order
… vision, language, speech, recommendations, forecasting, and reinforcement learning. - [Developer plan and capstone](/learn/ai/developer-roadmap-and-capstone …
- Serverless: Lambda and API Gateway
… AWS manages execution capacity, while you still own application correctness and permissions. “Serverless” does not mean there are …
- Views, Triggers & Stored Procedures
… Transaction-control and return-value capabilities vary by engine, so name the product in an interview.
- AI Architect Reference: Decisions, Glossary, Resources and Career
… AI Research Team (multi-agent, cross-checked, cited reports) - [ ] Capstone: Lead Intelligence Platform, deployed, with an architecture document …
- Design a Reliable Notification System
… no pushes at 3 a.m.) and frequency caps (e.g. at most 2 promos a week). Receipts …
- Encapsulation
… Learn access modifiers, getters and setters, and how encapsulation protects business rules. The big idea A medicine capsule …
- Timeouts, Retries & Backpressure
… That's why you need a cap: without it, a slow service quietly eats all your workers. </details …
- Real-Time, Pub/Sub, Webhooks and CDC
… an event stream can feed pub-sub consumers, webhook delivery, server-sent updates and database change capture](/img …
- Networking, DNS and Traffic Routing
… So: - Write down how long you expect switching to take, and test it. - Keep spare capacity in other …
- AWS Interview Questions: Clear Answers
… If the app needs more copies, I verify autoscaling limits and database capacity rather than scaling blindly. I …
- Caching, Consistent Hashing and Sharding
… Request coalescing: one reload instead of thousands. - A capped database fallback: only a limited number of reloads can …
- Deploying & Operating Microservices
… Simple, no extra capacity needed; old and new versions run side by side for a while. mermaid flowchart …
- Finding Service Boundaries with DDD
… Practical heuristics for cutting services 1. Follow business capabilities , not technical layers. ✅ "Payments service". ❌ "Database service", "Validation service …
- DynamoDB Modeling, RDS Scaling and Data Resilience
… S3 and keep the pointer. - Choose on-demand capacity for unpredictable traffic and provisioned with auto scaling for …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… it preserves input, captures a task result, and routes failures to review. RecordOutcome is a placeholder Pass state …