Distributed Systems

A 2-part series.

  1. Part 1

    Sharding Postgres: When One Database Stops Being Enough

    Sharding Postgres at scale — shard keys, routing, distributed transactions, online rebalancing, and the 15 complexities every team eventually hits.

  2. Part 2

    Database Replication: Strategies, Topologies, and What to Use When

    A practical guide to PostgreSQL replication — physical vs logical, sync vs async, single-leader / multi-leader / leaderless, and replica-read rules.