System Design Playbook
03 · Fundamentals7 min read

Read-heavy vs write-heavy systems

Most design decisions depend on one ratio: how often data is read compared to how often it's written. How to estimate it, how to spot each kind inside one app, and which tools fit each side.

In one sentence

A read-heavy part is read far more than it changes (a video page); a write-heavy part receives a constant flood of new data (view counts, analytics). Each one needs different tools.

The read/write ratio

Before choosing caches, replicas, queues or databases, ask: for every write, how many reads happen? A tweet is written once and read thousands of times. A view counter is written on every single view.

The trick is that one app is never just one kind. Classify the parts of a video platform below.

Classify the features of a video app
A YouTube-like app · illustrative numbersScore: 0/0
  • Watch page (title, description, channel)
  • View counter
  • Search results
  • Analytics events (watch time, clicks)
  • Comments under a video
  • Uploading a video
  • Profile & settings
  • Live chat during a stream
The same app has both kinds of parts. Look at each feature on its own: how often is it read compared to how often it changes?

How to estimate it

  1. Start from users: e.g. 10M daily active users.
  2. Count actions per user per day: each opens ~20 videos (reads) and leaves 0.1 comments (writes).
  3. Turn it into requests per second: 10M × 20 / 86,400 ≈ 2,300 reads/s vs 10M × 0.1 / 86,400 ≈ 12 writes/s.
  4. Multiply by 2–3 for peak hours.

A ratio like 200:1 tells you straight away that reads are the problem to solve for that feature.

Tools for each side

Read-heavy

  • Caching at every layer (CDN, Redis)
  • Read replicas
  • Indexes tuned for the read queries
  • Denormalized or precomputed data so a read is one lookup

Write-heavy

  • Queues to buffer and smooth bursts
  • Batching many small writes into one
  • Write-optimized databases (Cassandra, time-series stores)
  • Sharding so writes spread over many machines
  • Few indexes on hot write tables

Key takeaways

  • 01Estimate reads and writes per second for each feature, not for the whole app.
  • 02Read-heavy parts scale with caches, replicas, indexes and precomputed data.
  • 03Write-heavy parts scale with queues, batching, sharding and write-optimized databases.
  • 04Many features mix both: separate the write path from the read path.

Check your understanding

1 of 3

What makes a feature read-heavy?

Related concepts