# Neon Neon is a modern, open-source serverless PostgreSQL platform built entirely around the concept of decoupled compute and storage. ![[arch_cluster_neon.png|256]] ## Scale-to-Zero Because Neon's compute nodes (the Postgres executor engines) are entirely stateless and store absolutely zero durable data, they can be treated as ephemeral workers. If a database receives no traffic, Neon automatically spins the compute instance completely down to zero, saving costs. When a new query arrives, a compute node is instantly spun back up (often in under a second), reconnects to the persistent storage layer, and executes the query. ## Git-Like Branching In traditional monolithic databases, creating a dedicated testing or staging environment requires a massive, slow, and expensive physical byte-for-byte copy of the entire storage volume. Because Neon's underlying storage engine strictly tracks the Write-Ahead Log (WAL) as the definitive sequence of state over time, it supports instantaneous **Copy-on-Write Database Branching**. Developers can instantly "fork" a production database via API. Just like a Git branch, the new fork merely points to the existing storage history without duplicating it. Only new modifications made explicitly on the branch consume additional storage, enabling developers to test migrations on massive datasets instantly and safely.