← All projects
Project record1 mention
Originally shared on Hacker News

pgfdb

A Postgres extension that hooks into transactions and table/index storage and implements them on top of FoundationDB, making Postgres itself stateless and turning it into a fully distributed database akin to CockroachDB. It offers simple horizontal scaling by adding nodes with automatic sharding, distributed strictly serializable transactions, automatic replication for durability and read performance, built-in fault tolerance for node failures and zone outages, and multi-tenancy via FoundationDB's built-in tenants feature, all while remaining actual Postgres compatible with existing features and extensions.

Last shared
01 / The problem

What it addresses

Running Postgres as a distributed database normally requires extra tooling like Citus, manual setup of read replicas, and configuration of replication and failovers.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. pgfdb

    A Postgres extension that hooks into transactions and table/index storage and implements them on top of FoundationDB, making Postgres itself stateless and turning it into a fully distributed database akin to CockroachDB. It offers simple horizontal scaling by adding nodes with automatic sharding, distributed strictly serializable transactions, automatic replication for durability and read performance, built-in fault tolerance for node failures and zone outages, and multi-tenancy via FoundationDB's built-in tenants feature, all while remaining actual Postgres compatible with existing features and extensions.

    Problem: Running Postgres as a distributed database normally requires extra tooling like Citus, manual setup of read replicas, and configuration of replication and failovers.

    Posted by @fabianlindfors · Original source ↗

    Source text · @fabianlindfors · · Source ↗

    So my prototype is implemented as a Postgres extension that hooks into transaction as well table and index storage and implements them on top of FoundationDB.