Skip to content

Database

Replication, sharding, caching, and change-data-capture topologies.

Primary with read replicas

Writes to one, reads from many. Two regions carve out the "write side" and "read side" of the data tier; the primary is sizeScale-emphasised.

Sharding by key

Plain layout — three shards, one router. A deliberate contrast with the richer example above.

Read-through cache

Two frames contrast the hot and cold paths. Hover and flip between them — frame 1 is the fast round-trip served from cache; frame 2 is the miss falling back to the DB with a "populate on read" note.

Frame 1 / 1–2
frame-gallery-cache (SVG, frame 1)

CDC → downstream

Four downstream consumers fed off the primary. Badges mark which feeds are healthy vs catching up.

Edit this pageLast updated: