Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Supabase 4 min read Release easyNovice

Multigres v0.1 Alpha: an operating system for Postgres

Multigres v0.1 alpha is an open-source management layer for Postgres. It aims to bring Vitess-style sharding, connection pooling, automatic failover and backup orchestration to Postgres, and this first release ships a single-shard cluster with HA, pooling and a Kubernetes operator. HA uses a generalized-consensus protocol over unmodified Postgres replication, with user-defined durability policies that are not tied to majority quorums. Pooling is split into a multigateway and a multipooler that parse queries to pool by connection state, keep a separate pool per user, and deduplicate prepared statements. Backups use pgBackRest taken from replicas; sharding is not included yet, the CR API is unstable, and the release is not production-ready.

Assumes: Postgres replicationconnection poolingKubernetes operators

Related posts

  • Multigres private alpha: automatic failover for Supabase Postgres

    Supabase easyNovice

    Multigres, an open source Postgres cluster manager from the Vitess team, is now in private alpha on Supabase, running Postgres on three nodes across availability zones with automatic failover and built-in connection pooling behind a single connection string. Failover is treated as a consensus problem layered on Postgres synchronous replication: writes are acknowledged only once replicated enough to survive a failure, and surviving nodes agree on the committed set before promoting a replica, so acknowledged commits aren't lost. The pooler tracks session state per query instead of requiring a PgBouncer-style mode, uses per-user pools with fair-share allocation, and deduplicates prepared statements. The alpha is free for up to two projects on paid plans but lacks Realtime, PITR, resizing, and multi-region support, and is not for production.

  • Scale without limits: Multigres, OrioleDB, and dbarena

    Supabase easyNovice

    Supabase launched three Postgres scaling efforts. Multigres, from the Vitess team, adds built-in connection pooling and automated failover across three availability-zone nodes, using a consensus protocol over synchronous replication so no committed write is lost. It is in private alpha. OrioleDB, in public beta, is a storage engine that replaces heap storage with a page-level undo log, removing bloat and the need for VACUUM, and uses 64-bit transaction IDs to avoid wraparound; it reports up to 1.8x heap throughput on TPC-C-derived benchmarks and can be chosen per table with USING orioledb. dbarena publishes reproducible, cost-normalized benchmarks comparing Supabase, RDS and Cloud SQL.

  • Managed Postgres on Railway

    Railway mediumAdept

    Railway's managed Postgres now covers the full database lifecycle: private-by-default services with reference-variable credentials, usage-billed vertical scaling, live volume resizing, and one-click PgBouncer pooling with a separate unpooled URL for migrations. HA conversion turns an existing node into the primary of a Patroni-managed streaming-replica cluster with etcd for leader election and HAProxy for routing, so apps keep the same endpoint through failover but still need reconnect/retry logic. Point-in-time recovery uses pgBackRest with continuous WAL archiving (weekly full, daily differential, ~4 weeks retention) and restores into a separate service. Automatic image updates, CVE patching, guided pg_upgrade major upgrades with compatibility checks, pg_stat_statements-based query statistics, and CLI/MCP agent workflows round out the platform.

  • What it Takes to Recover a 100 TB Postgres Database in AWS RDS

    Neon easyNovice

    Recovering a 100 TB Postgres database on AWS RDS is slow or incomplete depending on the failure mode. Snapshot restore plus WAL replay handles logical errors, but copying the snapshot and replaying up to a day of WAL can take hours. Multi-AZ standbys cover AZ and hardware failures but cannot undo bad writes, double instance costs, and may silently drop to asynchronous replication and lag under heavy writes. Neon's alternative is presented: a versioned, log-structured key-value storage layer separated from stateless compute, which allows instant branch-based PITR and storage-level multi-AZ redundancy without a standby replica.

  • The architecture of Neki

    PlanetScale mediumAdept

    Neki shards unmodified PostgreSQL behind a single connection string. A Router speaks the Postgres wire protocol, parses and plans queries against the sharding layout, and either pushes joins down to shards or runs cross-shard nested-loop, hash or merge joins itself. Each instance runs a Sidecar that pools connections by lifetime (statement, transaction, session advisory lock) and a PostgresManager. Admin handles failover, pg_rewind and per-shard sync/async/cross-zone durability, while an authoritative shard keeps custom type OIDs consistent and etcd holds the Data Topology. A Replicator built on logical replication drives MoveTables, Reshard and shadow-table OnlineDDL, and the Router buffers retryable queries during cutovers and failovers.

The quest for software engineering knowledge.

Look:
Layout: