Peat: a database that branches instantly and sleeps when idle
Peat is an early-stage fork of Neon, an open-source Postgres database service. It runs on current Postgres releases and adds a program that installs and runs the database for you. You can try it on a laptop in about two minutes.
Peat is a fork of Neon, an open-source "serverless" Postgres database. It keeps Neon's storage engine and runs it on current Postgres releases, 18 and 19. It also adds a Kubernetes operator, a program that installs and runs the database for you. The project is alpha and isn't affiliated with Neon or Databricks.
Its main features:
- Scale to zero. Idle databases stop and keep their data. The next connection wakes them within seconds. - Instant branches. Copy-on-write branches copy no data up front and cost only what they later change. - Point-in-time recovery. You can restore or branch from any moment, seven days back by default. - Read replicas that stay asleep until someone connects.
The authors say it runs their own production databases, and it was posted to Hacker News on 28 November. Because it's alpha, try it on a laptop first.
New to this? The key idea
Normally, copying a database means copying all its data. A copy-on-write branch works like a shared document with version history: the new branch points at the same data and only stores what you change afterward. That makes a branch nearly instant and cheap, so you can test on realistic data and throw it away.
Use it at work
Use it for: spinning up cheap test or preview copies of a Postgres database, and for databases that sit idle most of the time. Backend developers and platform or DevOps teams should care.
Try it: the README says the laptop quickstart needs Docker (running), kind, kubectl, Bun and psql.
git clone --depth 1 --branch release-2026-11-29.3 https://github.com/Zabaca/peat
peat/control/examples/try-it.sh
The script makes a throwaway kind cluster, creates and tests a database, and shows sleep and wake in about two minutes. Clean up with:
kind delete cluster --name peat-try
For a real cluster, follow guide/install.md in the repo.
Before you roll it out: free and open source. It is based on Neon (Apache 2.0), the PostgreSQL trees use the PostgreSQL licence, and it is not affiliated with Neon or Databricks. It is alpha (API version v1alpha1), and the authors say it runs their own production databases. A sleeping database takes a few seconds to wake on connection. Point-in-time recovery covers seven days by default. The quickstart is a single-machine setup, not a production deployment. Sizing and platforms beyond kind: not stated. Data stays on your own cluster.
Summaries are written by AI from the linked source. Always check the original.