Cloud-native, auto-scaling Postgres with instant branching, bottomless storage, and pay-per-use pricing

Overview:

Neon is an open-source serverless Postgres database platform that separates storage and compute. It replaces the traditional PostgreSQL storage layer by distributing data across a cluster of nodes. The architecture consists of stateless compute nodes backed by a scalable storage engine called the pageserver, with safekeepers providing a redundant WAL service for durable data storage. Designed for developers and teams experimenting with serverless database architectures, Neon allows users to run Postgres on their own infrastructure and supports branching and other cloud-native database operations.

Core Features:

  • Compute-storage separation: Postgres compute nodes are stateless, with data managed by a separate, clustered storage engine.

  • Pageserver: A scalable storage backend designed to serve as the primary data layer for compute nodes.

  • Safekeepers: A redundant WAL service that receives and durably stores write-ahead logs before they are processed and uploaded to cloud storage.

  • Branching support: Users can create database branches and run Postgres on them, similar to Git-style branching for databases.

  • Local development environment: The project provides tooling and scripts to run a full Neon instance on a workstation for testing and experimentation.

  • Integration test suite: Includes Rust unit tests and Python-based integration tests to verify system behavior under various configurations.

Use Cases:

  • Developers testing serverless Postgres features: Running Neon locally to experiment with compute-storage separation and branching without relying on a cloud service.

  • Database engineers evaluating new storage architectures: Using the Neon storage engine as a reference implementation for distributing Postgres data across a cluster.

  • Open-source contributors working on Postgres internals: Studying and modifying the patched Postgres codebase alongside Neon's Rust components.

Why It Matters:

As an open-source project, Neon provides a concrete implementation of a serverless Postgres architecture that separates compute and storage. Rather than being a managed cloud service, it offers a codebase and local development tooling for developers to explore and modify this approach. This makes it a valuable reference for anyone interested in cloud-native database design, branching for databases, or understanding how a storage engine can be substituted in PostgreSQL without changing the query layer.

CondividiXLinkedInReddit

Strumenti correlati

Statistiche progetto

Stelle

21,673

Fork

940

Licenza

Apache-2.0

Metadati

Alternativa a
Supabase