Neon is a serverless Postgres database platform that separates storage and compute to enable autoscaling, database branching, and scale-to-zero functionality.
Neon addresses the limitations of traditional monolithic PostgreSQL by decoupling storage from compute nodes. The architecture replaces PostgreSQL's built-in storage layer with a distributed system where stateless compute nodes are backed by the Neon storage engine. This engine consists of two components: a pageserver that provides scalable storage for compute nodes, and safekeepers that form a redundant write-ahead log service, receiving WAL from compute nodes and storing it durably until the pageserver processes and uploads it to cloud storage. This separation enables independent scaling of storage and compute resources.
Neon suits teams building applications that need elastic database scaling without managing infrastructure, particularly those with variable workloads that benefit from scale-to-zero capabilities. The platform supports standard PostgreSQL clients and tools, making it accessible to developers familiar with Postgres. It offers both a managed free tier and the ability to run locally for development and testing. Local installation requires Rust, protobuf compiler version 3.15 or higher, and platform-specific build dependencies; the project maintains detailed setup instructions for Linux and macOS environments.
The project maintains a pinned Rust toolchain version in a toolchain file that integrates with rustup for consistent builds across contributors and CI systems. Development activity shows regular attention to the codebase with structured documentation in developer guides covering the architecture and components. The project provides clear build instructions with platform-specific dependency lists and acknowledges compatibility considerations for different Rust versions and build environments.