← Sun, Nov 29 digest

Show HN: Peat, a fork of Neon's serverless Postgres, on Postgres 18 and 19

read article ↗ hn thread ↗

Peat is a new open-source fork of Neon's serverless Postgres storage engine updated to support PostgreSQL 18 and 19 with a Kubernetes operator.

summary is enough Useful if you need a self-hosted serverless Postgres alternative, but the architecture and trade-offs are already well known from Neon.

summary

The author built Peat as a fork of Neon's serverless Postgres storage engine because Neon stopped updating its open-source repository for newer PostgreSQL releases. Peat brings the codebase up to PostgreSQL 18 and 19 and introduces a Kubernetes operator for easier self-hosted deployment. While standard PostgreSQL with ZFS snapshots offers similar features, Peat retains Neon's unified storage layer for faster branching, point-in-time recovery, and scale-to-zero capabilities. Commenters discuss migration paths and debate the project's maintenance and documentation style.

key points

  1. Peat ports Neon's serverless storage engine to PostgreSQL versions 18 and 19, bypassing Neon's open-source freeze in 2025.
  2. Includes a Kubernetes operator to automate installation and lifecycle management of the storage layer, control plane, and proxies.
  3. Achieves significantly faster branching times (under 3 seconds) compared to traditional PostgreSQL and ZFS snapshot configurations.

who should read it

Infrastructure engineers and database operators looking to self-host serverless Postgres features like instant branching.

discussion mixed

consensus

Commenters appreciate having an updated open-source path for Neon's architecture, noting that separation of storage and compute is valuable for self-hosting.

pushback

Some critics push back, accusing the project and its README of being low-effort AI-generated content lacking original engineering substance.

best comment by koolba ↗

> Code should always be written such that the block storage back-end (whether its local in the form of local hard disk space or whether its remote, in the form of Internet accessible block-based storage) is either #ifdef'd around (or the programming language's equivalent of #ifdef, i.e., "conditional compilation", "conditionally compiled", for example, in Rust it's '#[cfg(...)]', in Go it's '//go:build ...', in Zig it's 'if (@import("builtin")....)' or 'comptime', in Delphi/Pascal/FreePascal it's '{$IFDEF}..{$ENDIF}', etc., etc.

I don’t think the main issue is the actual fread() calls. …

Points out that the true complexity of distributed databases isn't file virtualization, but synchronizing the shared memory buffer pool.

Generated by an LLM from the article and thread. Check the sources before relying on it.