bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/System Design/Design Fundamentals
System Design•Design Fundamentals

System Design: Capacity Estimation

Capacity puzzle

Estimate the pressure

A feed service has 2 million daily active users. Each user opens the feed 20 times per day and writes 2 posts per day.

0/3 checks
Design choices

Back-of-envelope

What is the nearest average request pressure before peak multipliers?

Read strategy

What should the read path do at this scale?

Traffic path

How should application servers handle this workload?

Puzzle target

Use rough math to decide whether read caching, fanout, and stateless app scaling matter.

○Back-of-envelope: choose an answer
○Read strategy: choose an answer
○Traffic path: choose an answer
Back-of-envelope

Not selected yet

Read strategy

Not selected yet

Traffic path

Not selected yet

Review

Complete each design choice to unlock the review. The feedback above will point out what your current tradeoff misses.

Flash cards

Review the key moves

1/3
Core idea

What is the main idea behind System Design: Capacity Estimation?

Lesson checks

Practice each idea before moving on

Short Mimo-style checks built from this lesson's code, terms, and sequence.

1Quick choice

Which statement best captures the main point of this lesson?

2Order

Put the learning moves in the order that makes the concept easiest to apply.

- Start from daily active users, requests per user, payload size, and retention before picking databases or caches.
System design is a sequence of explicit tradeoffs.
System Design: Capacity Estimation

System design is a sequence of explicit tradeoffs. Start small: clarify the goal, estimate load, pick the simplest architecture, then name what breaks first.

Design surfaceWhat you decide
RequirementsFunctional behavior, constraints, and non-goals
ScaleReads, writes, storage, bandwidth, and latency target
ArchitectureClients, load balancer, services, cache, database, queue, and workers
ReliabilityFailure mode, fallback, retry, and metric
GoalEstimate reads, writes, storage, and bandwidth with simple round numbers.

Practice Task

  • Start from daily active users, requests per user, payload size, and retention before picking databases or caches.
  • Use the design puzzle below to choose components and tradeoffs.
  • Explain the bottleneck before adding more infrastructure.

Previous

System Design: Requirements and Scope

Next

System Design: API and Data Model