Numbers To Know hard
In capacity planning without specific data, a common rule of thumb for 'Peak Load' vs 'Average Load' ratio is:
- A 1.1x
- B 10x
- C 2x to 4x
- D 100x
Answer: C. 2x to 4x
In most consumer-facing systems, user activity follows a 'diurnal' pattern: highly active during the day and quiet at night. Because of this, the 'Peak Load' (the busiest hour of the day) is typically 2 to 4 times higher than the yearly average. When performing back-of-the-envelope capacity planning, an engineer must always multiply their average traffic estimates by this 'Peak Factor' to ensure the system doesn't crash during busy periods. However, for extreme events like Black Friday or a viral tweet, this ratio can jump to 10x or 100x, requiring 'Auto-Scaling' infrastructure to dynamically add capacity as needed.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- What is the maximum allowed downtime per year for a system targeting '99.9%' (Three Nines) availability?
- What is the typical size of a standard ASCII character (e.g., 'A')?
- What is the typical Round Trip Time (RTT) for a single network packet traveling between New York and London (Transatlantic)?
- Network bandwidth is usually denoted in **bits** per second (Gbps), while storage is in **Bytes** (GB). What is the conversion ratio?
- Storing a password using a secure algorithm like bcrypt (cost 10) or Argon2 typically consumes how much storage per user?
- How much power does a typical fully-loaded rack-mount server consume?