Mar 25, 2026 | 13 min read
Write-Ahead Logging: How PostgreSQL Survives Crashes, Powers Replication, and Never Loses Your Data
## Introduction Your application writes a row. PostgreSQL says "committed." The server loses power one millisecond lat...
Engineering Notes
I explore how modern systems behave under pressure, document design tradeoffs, and share field notes from building dependable software.
Consistency models and how they surface in real-world systems.
Storage engines and the tradeoffs inside modern databases.
Reliability patterns for resilient services under failure.
## Introduction Your application writes a row. PostgreSQL says "committed." The server loses power one millisecond lat...
## Introduction Your application has one user. Concurrency is not a problem. That user reads data, writes data, nothin...
## Introduction Your single database server handled your first 100,000 users just fine. Then you hit a million. Querie...