Black Friday: 30% off every plan through November 30. See the prices
SysDesignPrep.com
Study guide

Updated 24 October 2026

Designing read-heavy vs write-heavy systems

How the read/write ratio shapes a design: caching, replicas, denormalisation and CDNs for read-heavy systems; log-structured storage, batching, partitioning, queues and asynchronous processing for write-heavy ones; and the patterns for systems that are heavy on both.

Reading is half of it. Now try it in an interview.An AI interviewer asks you to design a URL Shortener, out loud or typed, and scores the answer for your level. Or watch a sample interview first, free with no sign-up.
Start an AI mock

Try it yourself, in a playground:LSM trees and compactionCache write policies

One of the first numbers to establish in any design is the ratio of reads to writes. A URL shortener might see 100 redirects per link created; a metrics system writes millions of points per second and reads a tiny fraction of them. The ratio decides where you spend complexity: read-heavy systems precompute and cache; write-heavy systems append, batch and partition. Stating the ratio and drawing the right conclusion is a strong early move in an interview.

Find the ratio

From the requirements and estimates:

  • Social feeds, product catalogues, URL shorteners, news sites, maps: read-heavy (often 10:1 to 1,000:1).
  • Metrics, logs, IoT telemetry, click tracking, location updates, chat ingestion: write-heavy.
  • Some are both: messaging (every message written once, read by recipients), ride-sharing (constant location writes plus frequent nearby queries).

Also note the shape: are reads of recent data or any data? Are writes appends or updates? Is there a hot subset? See back-of-envelope estimation.

Read-heavy toolkit

TechniqueEffect
Caching (application, distributed, CDN)most reads never reach the database. See caching
Read replicasspread remaining reads; accept replication lag. See scaling a relational database
Denormalisation and precomputationstore data in the shape reads need; compute on write
Materialised views and read modelsseparate read-optimised stores. See event sourcing and CQRS
Fan-out on writebuild each reader's view at write time. See fan-out on write vs read
Indexes and search enginesfast lookup patterns. See database indexing
Edge deliverystatic and cacheable content close to users. See CDN and edge

The trade-off: every copy must be kept fresh, so read-heavy designs move work and complexity to the write path (invalidation, fan-out, index updates). See cache invalidation.

Write-heavy toolkit

TechniqueEffect
Append-only, log-structured storagesequential writes; LSM-based databases. See storage engines
Partitioning by a high-cardinality keyspread writes evenly. See sharding and partitioning
Batching and bufferingmany small writes become few large ones
Queues and logs in front of storageabsorb bursts; process at a steady rate. See how Kafka works
Pre-aggregation in streamsstore per-minute counts instead of every event. See counting at scale
Asynchronous secondary workindexes and derived data updated later
Fewer indexes on hot tableseach index multiplies write cost
Time-based partitions and TTLscheap retention by dropping old data. See time-series data

The trade-off: reads get harder (data is spread out, not yet aggregated, or eventually consistent), so you add read paths deliberately: rollups for dashboards, a search index fed asynchronously.

Watch the hot spots

  • Read-hot keys (a celebrity profile, a viral link): replicate and cache locally.
  • Write-hot keys (a global counter, a popular item): shard the counter, batch, or queue per key.

See hot keys and skew.

Heavy on both

Many real systems need both:

  • Chat (Design WhatsApp): append messages to a partitioned store keyed by conversation (write path), read recent messages per conversation by range scan (read path), cache recent conversations.
  • Ride-sharing: location writes go to an in-memory geospatial index (not a database), with history persisted asynchronously; nearby queries read the in-memory index.
  • Feeds: posts are written once, fanned out to timelines (write amplification), read from precomputed timelines (cheap reads).

The usual pattern is CQRS-style separation: an optimised write path that records facts quickly, and one or more read models updated asynchronously for each query shape.

Consistency implications

Read-heavy designs with caches and replicas serve slightly stale data; write-heavy designs with buffering and asynchronous processing show updates later. Decide which reads must be fresh (a user's own writes, balances) and route those to the source of truth. See consistency models.

In the interview

Say the ratio and its consequence early: "Redirects outnumber creations about 100 to 1, so the design centres on caching and edge delivery; writes are small and go to a single partitioned table" (Design a URL Shortener). Or: "We ingest a million points per second and query a tiny fraction, so we append to a log, pre-aggregate in streams, and store in a time-partitioned columnar store" (Design a Monitoring System).

Checklist

  • Read/write ratio and access shape estimated first.
  • Read-heavy: caches, replicas, CDNs, precomputation, denormalisation.
  • Write-heavy: append-only storage, partitioning, batching, queues, pre-aggregation.
  • Hot keys handled on whichever side is hot.
  • Separate write path and read models when heavy on both.
  • Fresh reads routed to the source of truth where needed.

Questions people ask

What is the difference between a read-heavy and a write-heavy system?

A read-heavy system serves far more reads than writes, often 10:1 to 1,000:1, while a write-heavy system writes far more data than it reads back. Social feeds, product catalogues, URL shorteners, news sites and maps are read-heavy; metrics, logs, IoT telemetry, click tracking, location updates and chat ingestion are write-heavy. The ratio decides where complexity goes: read-heavy systems precompute and cache, while write-heavy systems append, batch and partition.

How do you scale a read-heavy system?

Scale a read-heavy system by keeping most reads away from the database: caching at the application, distributed and CDN layers, read replicas for the remaining reads, and denormalised or precomputed data stored in the shape reads need. Materialised views, read models, fan-out on write, indexes and edge delivery help too. The trade-off is that every copy must be kept fresh, so work and complexity move to the write path: invalidation, fan-out and index updates.

How do you scale a write-heavy system?

Scale a write-heavy system by making writes cheap and spreading them out: append-only, log-structured storage such as LSM-based databases, partitioning by a high-cardinality key, and batching so many small writes become few large ones. Queues absorb bursts, streams pre-aggregate (per-minute counts instead of every event), secondary work runs asynchronously, and hot tables keep few indexes because each index multiplies write cost. The trade-off is harder reads, so rollups and asynchronously fed search indexes are added deliberately.

How do you design a system that is both read-heavy and write-heavy?

Separate the two paths, CQRS-style: an optimised write path that records facts quickly, plus one or more read models updated asynchronously for each query shape. Chat, for example, appends messages to a store partitioned by conversation and reads recent messages by range scan, with recent conversations cached. Feeds write each post once, fan it out to timelines, and serve cheap reads from those precomputed timelines.

Why does the read/write ratio matter in a system design interview?

The read/write ratio decides where the design spends complexity, so stating it early, with its consequence, is a strong opening move. For example: redirects outnumber creations about 100 to 1, so a URL shortener centres on caching and edge delivery, with small writes going to a single partitioned table. Also note the shape of access: whether reads are of recent data or any data, whether writes are appends or updates, and whether there is a hot subset.

Do read-heavy and write-heavy designs return stale data?

Yes, both trade some freshness for scale: caches and replicas in read-heavy designs serve slightly stale data, and buffering and asynchronous processing in write-heavy designs show updates later. The answer is to decide which reads must be fresh, such as a user's own writes or balances, and route those to the source of truth.