Completed
3 episodes
~ 27 min total read
Database Engineering: Scaling & Distributed Systems
Episodes
3 items • ~27 min-
1
Database Partitioning and Sharding: Range, Hash and Consistent Hashing
UpdatedSharding 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
CAP Theorem and PACELC: What They Mean for Real Database Decisions
UpdatedCAP 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
Distributed Transactions: Two-Phase Commit, Saga and When to Use Each
UpdatedDistributed 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