· via Hacker News – Front Page (native)
Peat fork keeps Neon's serverless Postgres alive on PostgreSQL 18 and 19, adds Kubernetes operator
A new fork called Peat keeps Neon's serverless Postgres storage engine running on PostgreSQL 18 and 19, adds a Kubernetes operator to deploy it, and lands after Neon's open-source repository stopped tracking new releases.
A project named Peat reached Hacker News's front page as a fork of Neon's open-source serverless Postgres, kept compatible with PostgreSQL 18 and 19 and shipped with a Kubernetes operator. According to the project's GitHub README, Neon's public repository has not adopted a new PostgreSQL release since 2025, and Peat exists to keep that storage engine alive on current Postgres.
The fork and why it exists
The README's case for forking is that Neon's overall design, not any single feature, is what deserves preserving. In Neon's architecture, one storage layer holds a database's complete history, and several behaviours follow from that single decision. Branches are copy-on-write, so creating one duplicates no data, and only the pages a branch later changes cost anything. A database can be restored, or branched from, at any point in its past, with seven days of history retained by default. Databases scale to zero: an idle database is stopped while its data remains, and the next connection brings it back within seconds. Read replicas trail their primary, are created as one object, and stay idle until a client connects.
What Peat adds
Peat's contribution is a control plane plus a Kubernetes operator. A user declares a single Platform object — a storage bucket and a handful of machines — and the operator installs and runs the storage, the control plane and the gateway that clients connect through. Every database is itself a Kubernetes object. Upgrades roll out in sequence and are validated as they go: edit the release in the Platform and the platform advances one component at a time. Moving a database to a newer PostgreSQL release works the same way, by changing a single field.
Why the author did not stay on vanilla Postgres
The README also recounts the route the author took first: assembling equivalent capabilities from standard Postgres parts, using CloudNativePG with ZFS snapshots for branching and a custom gateway for sleep and wake. That stack functioned, but each capability became its own moving part to deploy, upgrade and monitor, and it was slower. On the same machines, the README reports a branch taking 16 seconds versus under 3 seconds on Neon, and a restore taking 20 seconds or more versus about 1. Other open-source options the author examined either had the same component-heavy shape or were missing features.
Status, licence and quickstart
Peat is frank about maturity: the API is alpha, in the group peat.zabaca.com/v1alpha1, and it currently backs the production databases of Zabaca, the author's company. A laptop quickstart takes roughly two minutes and requires Docker, kind, kubectl, Bun and psql. A script spins up a disposable kind cluster, installs the latest release (tagged release-2026-11-28.1), creates a database, writes to and reads from it via psql, puts it to sleep and wakes it again by connecting. On licensing, Neon's Apache 2.0 licence and NOTICE file are kept unchanged, the vendored PostgreSQL trees stay under the PostgreSQL licence, and the project states it is unaffiliated with and not endorsed by Neon or Databricks.
Why it matters
Neon's public repository going quiet on new Postgres releases left a specific gap: the storage engine that makes serverless Postgres genuinely different — the README's own numbers put branching at under 3 seconds and restores near 1 second, against 16 and 20-plus seconds for the CloudNativePG assembly — was no longer available on a current Postgres. Peat is an attempt to hold that ground in the open, and the operator matters as much as the fork itself, because it converts a research-grade engine into something a platform team can declare, upgrade and version-manage like any other cluster resource. The caveats are equally clear: it is alpha software, proven mainly in one company's production, and it carries no endorsement from Neon, the company Databricks acquired in 2025. Whether a community forms around it will decide whether Peat stays a single vendor's internal tool or becomes the maintained home for Neon's engine outside the company.
- #postgres
- #kubernetes
- #open-source
- #databases
- #serverless
- #cloud