{"repo":"pgElephant/pgraft","free":true,"listed":false,"github":"https://github.com/pgElephant/pgraft","clone":"git clone https://github.com/pgElephant/pgraft.git","description":"PostgreSQL Extension for RAFT- Based Leader Election and Cluster Coordination. Background workers, shared memory state, clean C core with Go bridge. PG16+.","language":"C","stars":22,"topics":["concensus","failover","leader","leader-election","leader-election-algorithm","postgres","postgresql","raft","raft-consensus-algorithm"],"license":"MIT","category":"databases-storage","readme_excerpt":"pgraft Raft consensus for distributed PostgreSQL clusters Documentation · Quick Start · Releases · Discussions --- Overview pgraft is a PostgreSQL extension that brings the Raft consensus algorithm to distributed PostgreSQL clusters. It provides automatic leader election, crash-safe log replication, and provable split-brain prevention, built on the production-grade etcd-io/raft library and integrated through a native background worker — no external agents or dependencies. Feature Description --- --- --- Consensus Automatic leader election Quorum-based, deterministic, fully automated Durability Crash-safe replication State changes replicated and persisted across nodes Safety Split-brain prevention Guaranteed by the Raft quorum protocol Availability Automatic failover Sub-second detection and recovery Integration Native PostgreSQL Background-worker architecture, managed via SQL Storage etcd-compatible KV store Raft-replicated key/value storage included Observability Status & metrics Cluster status, replication stats, structured logging Supported platforms Platform PostgreSQL Status --- --- :---: Linux — RHEL / Rocky / AlmaLinux 14 – 18 Supported Linux — Ubuntu / Debian 14 – 18 Supported macOS 14 – 18 Supported [!NOTE] Official release packages are published for PostgreSQL 16, 17, and 18; the extension also builds from source on PostgreSQL 14 and 15. --- Installation From source Build against a specific PostgreSQL installation: Pre-built packages Download the appropriate package","default_branch":null,"files":null,"tree":[],"storefront":"/r/pgElephant","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pgElephant/pgraft/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}