NeonCarlota Soto14 min readintermediate
WAL + S3: Lakebase storage for the era of agents
Summary
Neon's Lakebase Postgres redefines database storage by making the WAL the source of truth, stored on S3, rather than data files. This transaction-centric approach enables instant branching, time travel, and scalable, decoupled compute and storage for Postgres.
- Traditional OLTP databases struggle with copies/restores; Neon uses S3 and a WAL-centric model to solve this.
- The architecture decouples stateless Postgres compute from a durable storage layer (safekeepers, pageservers, S3).
- Writes commit via WAL replication to safekeepers; page materialization to S3 is asynchronous and off the critical path.
- Reads use GetPage@LSN to reconstruct pages from image and delta layers, enabling point-in-time queries.
This architecture is crucial for developers needing instant database copies, time travel, or highly scalable, decoupled Postgres, especially for agent-driven workloads.
7/10





