Tags

Capacity Planning

Capacity Planning

0 lessons
2 system designs
1 behavioral interview
3 AI Engineering questions

capacity-planning

System Design

2 articles
System Design

Auto-Scaling, Elasticity & Capacity Planning

Auto-scaling lets your fleet grow when traffic surges and shrink when it ebbs, so you pay for the load you actually have. This lesson covers reactive metric-based scaling, predictive (schedule-based) scaling, and the gotchas that turn auto-scaling into auto-outage: warm-up time, scale-down storms, downstream throttling, and cost runaway. We also walk through capacity planning: how to estimate the fleet size you need from QPS, latency targets, and headroom, before relying on the scaler to fix mistakes at 3 a.m. By the end you can configure an auto-scaling policy with confidence and explain to an interviewer why simply 'putting it on auto-scale' is not the actual answer.

auto-scaling
elasticity
capacity-planning
kubernetes-hpa
aws-asg
scalability
system-design
intermediate
free

795

20

Medium
System Design

Back-of-the-Envelope Estimation & Capacity Planning

Back-of-the-envelope estimation is the math you do in three minutes to ground a system design in numbers. It is what tells you whether your single Postgres instance can handle the load (no), how much storage you need over five years (probably more than you think), and how much CDN bandwidth you are about to commit to (probably more than that). This lesson covers the standard latency / throughput / size / bandwidth numbers every engineer should have memorized, the unit conversions and order-of-magnitude reasoning that keep you fast, the templates for QPS, storage, and bandwidth estimation, capacity planning beyond steady state (peak vs average, headroom, growth, regional, seasonal), and the cost rough-arithmetic that turns 'we need more servers' into a defensible business case. The goal is to leave you able to walk into any interview or design review and produce useful numbers in three minutes flat.

estimation
capacity-planning
interview-strategy
back-of-envelope
system-design
advanced
free

420

9

Medium

AI Engineering

3 questions
AI Engineering
Premium

Design SLOs, rollout, and cost controls

Design reliability controls for a multi-tenant AI assistant: SLOs and error budgets, quota-aware admission, fallback and cost reservations, staged rollout with a canary decision, rollback, and recovery.

ai-engineering
slo
capacity-planning
circuit-breaker
fault-tolerance
reliability

0

Hard
AI Engineering

Choose a hosted API or a self-hosted model

Compare a hosted model API with a self-hosted open-weight model for a live tutor and a nightly scoring job: apply a quality gate, compute monthly cost at real utilization and the breakeven volume, check a data-location rule, and say what would reverse the choice.

ai-engineering
model-serving
capacity-planning
data-privacy
trade-offs

5

Medium
AI Engineering
Premium

Choose a serving strategy under tail-latency limits

Choose how to serve interactive hints and offline drafts on four memory-limited accelerators: compute KV headroom, check measured tail-latency and quality gates, and design scheduling, overload handling, and verification.

ai-engineering
model-serving
capacity-planning
latency
memory-management

0

Hard