Skip to content
Completed 3 episodes ~ 27 min total read

Database Engineering: Scaling & Distributed Systems

Start series

Episodes

3 items • ~27 min
  1. 1

    Database Partitioning and Sharding: Range, Hash and Consistent Hashing

    Updated

    Sharding splits data across multiple nodes and creates a new class of problems. This post covers range, hash, and consistent hashing with trade-offs that matter in production.

    Published Jul 3, 2026 9 min read
  2. 2

    CAP Theorem and PACELC: What They Mean for Real Database Decisions

    Updated

    CAP theorem is misunderstood constantly. PACELC is more useful but almost unknown. This post explains both with concrete database examples and the decisions they actually inform.

    Published Jul 3, 2026 9 min read
  3. 3

    Distributed Transactions: Two-Phase Commit, Saga and When to Use Each

    Updated

    Distributed transactions are hard. 2PC gives safety at the cost of availability. Saga gives availability at the cost of complexity. This post explains both and when each is right.

    Published Jul 3, 2026 9 min read