Fork of Neon's serverless Postgres storage on Postgres 18.7 and 19.0, with a Kubernetes operator and control plane
- License
- Apache-2.0 (Postgres trees: PostgreSQL licence)
- Try it
git clone --depth 1 --branch release-2026-11-29.2 https://github.com/Zabaca/peat && peat/control/examples/try-it.sh
Peat is a new fork of Neon, the open-source serverless Postgres, that brings Neon's storage engine up to Postgres 18.7 and 19.0 and adds a Kubernetes operator to install and run it on your own machines. It comes from Zabaca, which says it runs its own production databases on it. The project topped Trendoday's archive of Hacker News Show HN posts for November 29, and a Show HN snapshot we read had it at 89 points. Its latest release, tagged in the repository's history on November 29, is release-2026-11-29.2.
Why it matters: Neon's design — storage separated from compute, with copy-on-write branches, restore to any point in time and databases that cost nothing while idle — is popular, but Peat's documentation says Neon's public repository stopped taking new Postgres releases in 2025, with its newest vendored Postgres at 17.5. Anyone self-hosting Neon's code has been stuck. Peat is an attempt to keep that code current outside Neon (now owned by Databricks), and it says plainly that it is not affiliated with or endorsed by either.
What it is
Per the README, Peat keeps Neon's core features:
- Scale to zero: an unused database stops (data stays) and wakes on the next connection "in seconds".
- Instant branches: copy-on-write, so a branch copies no data up front.
- Point-in-time recovery: restore or branch from any moment, seven days back by default.
- Read replicas: created with one object and asleep until used.
What Peat adds is a control plane and a Kubernetes operator (a TypeScript program run by Bun). You declare a single Platform object — an object-storage bucket and a few machines — and the operator installs storage, control plane and connection gateway; each database is then its own Kubernetes object. Upgrades are rolled out piece by piece by changing the release in the Platform. The install guide recommends three nodes so the platform survives losing one, though one is enough for a trial.
Zabaca says it tried standard Postgres first (CloudNativePG with ZFS snapshots) and found it slower in its own tests: a branch took 16 seconds against under 3 on Neon, and a restore 20 seconds or more against about 1. Those are the company's figures, not independent benchmarks.
Where the code comes from
FORK.md traces the lineage in detail: Neon's main as of August 31, 2026; a community fork (jclab-oss/neon) that added Postgres 17.8 and 18.2 support in unmerged pull requests; then Peat's own work merging 806 upstream commits to reach 18.7 and porting Neon's Postgres changes onto 19.0 — which is now Peat's default version for new databases (18 remains supported). The repository's vendor/revisions.json lists 19.0 and 18.7 alongside older 14–17 trees.
The caveats
- Alpha. The API version is
v1alpha1, and the history we cloned shows dozens of commits a day between November 27 and 29. - Written mostly by AI agents.
FORK.mdsays Peat's changes are written by Anthropic's Claude working for Zabaca, reviewed by a separate reviewing agent, with the founder setting direction. The commits we inspected carry aCo-Authored-By: Claudetrailer. That includes small C changes to Postgres internals (B-tree search, WAL redo, WAL reader). - Known defects are listed. The docs describe a B-tree fix whose first version left a variable uninitialised under a rare race (corrected; no test reaches that path yet), a read-replica crash on 18.7 with unlogged sequences (fixed), and an inherited Neon limit where a promoted replica can't read unlogged tables it replayed (not fixed; Peat's own control plane avoids in-place promotion).
- Postgres 19 behaviour differs. A plain
SELECTon 19 can request visibility-map or free-space-map pages from storage, which 18 did not; Peat says the cost is unmeasured. - Major-version moves are copies. Going from 18 to 19 means
pg_dump/restore into a new database, which resets history and turns branches into separate databases. - Tests are self-reported. The README cites CI runs with 799 regression tests passing on Postgres 19; we did not build or run Peat.
Try it
The README says a laptop trial takes about two minutes with Docker, kind, kubectl, Bun and psql installed:
git clone --depth 1 --branch release-2026-11-29.2 https://github.com/Zabaca/peat
peat/control/examples/try-it.sh
It creates a throwaway kind cluster, makes a database, puts it to sleep and wakes it. Clean up with kind delete cluster --name peat-try.
Who should care: teams that self-host Postgres and want Neon-style branching for previews and tests, or anyone who was running Neon's open code and needs Postgres 18 or 19. Production use means trusting a very young, AI-written fork with your data — read FORK.md first and keep independent backups.