LESSON 01 · Inputs before answers

Start with user behavior

An account count becomes useful only when you know what active people do.

SYSTEM VIEW

The calculation

Diagram view
Swipe or scroll to explore the full diagram
Turn accounts into daily actionsFive million accounts times a twenty percent active share yields one million daily active people. Ten feed opens each yield ten million reads per day.Turn accounts into daily actions5M accountsregistered people× 20% activestated assumption1M daily activepeople using the app× 10 opensper active person10M reads/daythe workload to sizeChanging the active share changes the answer; record it beside the calculation.
Five million accounts times a twenty percent active share yields one million daily active people. Ten feed opens each yield ten million reads per day.
Follow the units from assumptions to a capacity decision.
THE IDEA

How it works

Begin with a small set of stated assumptions: daily active users (DAU, the people who use the product on a given day), actions per active user, read-to-write mix, item size, retention, and expected peaks. Registered accounts alone cannot tell you how many requests arrive today, because many accounts are dormant. Keep each assumption beside its unit so another person can challenge it.

Here is an example. A service has five million registered accounts, and 20% are active on a typical day, giving one million DAU. Each opens a feed ten times, so that is ten million feed opens per day. If 5% of active users post once, that is 50,000 writes per day, a read-to-write ratio of 200 to 1. Using all five million accounts as daily users would inflate the estimate fivefold, to 50 million opens, and might push the team toward infrastructure it does not need.

The goal is a plausible workload model, not a precise forecast. Spend minutes on it, not days, since you only need the right order of magnitude. If the system already runs, use measurements instead of guesses: web server access logs show real request counts, and Postgres’s pg_stat_statements extension shows which queries run most often. Also pick the time window that fits the product: a payroll tool used twice a month is better modeled by its busiest day than by DAU.

DECISION POINT

A product has five million accounts. Which three usage figures would you request before estimating its read traffic?

Write a sentence or two to unlock the guidance. Committing first is what makes it stick.

Keep in mind

  • Start with active behavior and a time window.
  • Write assumptions and units before calculating capacity.
CHECK YOUR UNDERSTANDING

Put it into practice.

1 OF 2
RecallQUESTION 01

Which input most directly turns registered accounts into daily request demand?

Choose an answer. You’ll see the explanation once you get it right.

Next lesson

0 of 2 checkpoints answered correctly to complete this lesson.