Series / Databases

Scaling Writes: How Databases Outgrow the Single Writer

Read replicas add query capacity but never divide write ownership. This series works through the single-writer ceiling and the architectures that actually distribute commits — Citus, Aurora Limitless, Aurora DSQL, sharded MySQL, and domain decomposition — with the operational cost of each stated explicitly.

20 posts Databases

Who This Is For

Database engineers, SREs, and architects who have already tuned queries, added replicas, and scaled the instance vertically, and now have to decide whether to distribute write ownership — and who will operate it during failure and recovery.

What You Will Be Able to Do

  • Diagnose whether the writer is genuinely the ceiling before proposing an architecture change
  • Choose a distribution key by transaction locality rather than by product feature matrix
  • Operate a distributed cluster end to end — rebalancing, hot tenants, backup consistency, and restore
  • Reject a distributed database early when its transaction, compatibility, or recovery model conflicts with the workload

Prerequisites

Working knowledge of PostgreSQL or MySQL in production, including replication, transactions, and constraints. No prior distributed-database experience assumed.

1 The Single-Writer Ceiling

Why replication copies data without dividing write ownership, and how to prove the writer is the real constraint before redesigning anything.

2 Distributed PostgreSQL with Citus

What Citus requires, why it cannot run on managed RDS, and the full operational contract — colocation, rebalancing, and distributed backup and recovery.

3 MySQL Write Domains

What async, semi-sync, and Group Replication each actually solve, why multi-primary is not sharding, and how to run tenant-owned clusters and their failover control plane.

4 Managed Distribution and the Decision

Where AWS-managed distribution helps, where PostgreSQL compatibility stops at the connection string, when to decompose by domain instead, and how to choose between all of them.

Additional Posts

Related posts matched to this series by topic, tags, and keywords.