Peat Forks Neon to Keep Serverless Postgres on Releases 18 and 19
Peat is a fork of Neon's open-source serverless Postgres that keeps the storage engine current on Postgres 18 and 19 after Neon's public repo stopped tracking new releases in 2025. It adds a Kubernetes operator for one-step deployment, and the author reports branches dropping from 16 seconds to under 3 and restores from 20+ seconds to about 1 versus a CloudNativePG plus ZFS snapshot setup.
Related Entities
Full Report
Contents7 sections
Peat
Peat is a fork of Neon, the open-source serverless Postgres. It keeps Neon's storage engine running on current Postgres releases (18 and 19) and adds a Kubernetes operator that installs and runs it for you.
Why it exists
Neon's design is what makes it worth keeping. One storage layer holds the whole history of a database, so a branch, a restore to any moment and a database that costs nothing while asleep all come from the same place.
We first tried to get there with standard Postgres: CloudNativePG, with ZFS snapshots for branches and our own gateway for sleep and wake. It mostly worked, but every feature was a separate part to run, upgrade and watch. It was also slower: in our tests on the same machines, a branch took 16 seconds against under 3 on Neon, and a restore took 20 seconds or more against about 1. The other open-source options we looked at were the same shape, or didn't have all the features.
But Neon's open-source repository is no longer kept up in the open: it stopped taking new Postgres releases in 2025. Peat keeps it alive and current.
What it is
Serverless Postgres, with storage separated from compute:
- Scale to zero. A database nobody is using is stopped (its data stays); the next connection wakes it, in seconds.
- Instant branches. Copy-on-write: a branch copies no data and costs only what it later changes.
- Point-in-time recovery. Restore a database, or branch it, from any moment in its history (seven days by default).
- Read replicas. A read-only copy that follows its primary, made with one object, asleep until you connect to it.
What Peat adds
A control plane and a Kubernetes operator. You declare one Platform object (a bucket and a few machines) and the operator installs and runs the whole thing: the storage, the control plane and the front door that databases are reached through. Each database is a Kubernetes object. Upgrades are ordered and checked: change the release in the Platform and the platform moves one piece at a time. A database can be moved to a newer Postgres version the same way, by changing one field.
Status
Alpha (peat.zabaca.com/v1alpha1). It runs Zabaca's own production databases.
Quickstart
On a laptop, about two minutes. You need Docker (running), kind, kubectl, Bun and psql:
git clone --depth 1 --branch release-2026-11-28.1 https://github.com/Zabaca/peat
peat/control/examples/try-it.shIt makes a throwaway kind cluster, installs the latest release (release-2026-11-28.1), makes a database, writes and reads it with psql, puts it to sleep and wakes it by connecting, then prints how to connect yourself and how to delete the cluster and the two small files it keeps in $TMPDIR (kind delete cluster --name peat-try; the cluster's name is CLUSTER if you set it). To run another release: RELEASE=<release tag, or a commit of main with published images> peat/control/examples/try-it.sh; to run another Kubernetes version: NODE_IMAGE=kindest/node:v1.30.13 peat/control/examples/try-it.sh (releases are listed at github.com/Zabaca/peat/releases).
On a real cluster: Install on a real cluster.
More
control/README.md: the operator, databases, upgrades, thepeatcommand, and installing on a real cluster.FORK.md: how Peat relates to Neon: what it is based on, what it changed, what has been tested.NEON-README.md: Neon's own README, with its build and local-run instructions.
Licence
Neon is licensed under the Apache License 2.0 (LICENSE); its NOTICE file is kept unchanged. The PostgreSQL trees in vendor/ are under the PostgreSQL licence (vendor/postgres-vX/COPYRIGHT). Peat's changes are under the same licences. Peat is not affiliated with or endorsed by Neon or Databricks.