Neon is an open-source serverless Postgres platform that splits storage and compute. It offers branching, autoscaling, and scale-to-zero through a Neon storage engine.
Overview
Neon is an open-source serverless Postgres database platform. It separates storage and compute and redistributes data across a cluster of nodes instead of using the stock PostgreSQL storage layout alone.
A deployment is made up of stateless PostgreSQL compute nodes backed by a Neon storage engine. That engine includes a pageserver for scalable storage and safekeepers that store write-ahead log data until it is processed and moved to cloud storage.
A hosted free tier allows connection through standard Postgres clients or an online SQL editor. You can also compile and run Neon locally, or run it on a workstation for small experiments using local development instructions.
Neon can be part of a broader backend stack with branching environments for previews, usage-based pricing, and autoscaling based on database load. Local development on Linux and macOS covers building, starting pageserver and Postgres instances, creating branches, and running integration tests against a local control plane.
Key features
- Separated storage and compute
- Postgres-compatible compute nodes
- Database branching
- Autoscaling compute resources
- Scale-to-zero behavior
- Pageserver storage backend
- Redundant safekeeper WAL service
- Local workstation development builds
Use cases
- Preview environments with copied data
- Local Postgres hacking and tests
- Serverless app backends
- Ephemeral dev and test databases
- Connecting with standard Postgres clients