postrep

Crates.iopostrep
lib.rspostrep
version0.1.0
sourcesrc
created_at2021-06-04 14:04:49.670998
updated_at2021-06-04 14:04:49.670998
descriptionA clustering tool for PostgreSQL, based on Etcd
homepage
repository
max_upload_size
id406144
size174,460
Pierre-Etienne Meunier (P-E-Meunier)

documentation

README

Postrep, a basic PostgreSQL custering tool

Postrep uses a fixed replication strategy (streaming replication), a fixed leader election tool (Etcd 3), to achieve proper failover when the cluster leader fails.

The problem this solves

PostgreSQL has multiple ways to operate in a "leader-replicae" mode. However, failover isn't automatic, and requires another protocol to decide which of the replicae becomes the leader when the previous leader fails.

This crate solves this problem, in the particular configuration where one has an Etcd v3 server running, for example because of requirements from another server running on the same service.

Commit count: 0

cargo fmt