Decision#d1
Catalogue / neon-2022-storage-architecture
Neon separates Postgres compute from a storage layer it built itself, with a WAL service, page servers and object storage
Neon, 2022. Storage layer of the Neon serverless Postgres service.
Records
Decision#d2
Put the compute-storage boundary at the WAL stream and page reads, aiming for minimal changes to Postgres
Decision#d3
Run the WAL service and the page service as two separate services
Decision#d4
Start with one pageserver per database, each able to hold many databases, and leave sharding for later
Decision#d5
Keep old page versions in the storage system so it replaces backups and the WAL archive
Decision#d6
Store data as immutable files and offload cold parts to cloud object storage
Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.