Something went wrong. Try again.
my code lab
Something went wrong. Try again.
PostgreSQL #
High Availability #
connection pooling tools #
- https://github.com/agroal/pgagroal
- https://github.com/aws/pgactive
- https://github.com/CrunchyData/crunchy-proxy
- https://github.com/postgresml/pgcat
- https://github.com/yandex/odyssey
- https://pgpool.net
supabase supavisor #
- https://github.com/supabase/supavisor
- https://supabase.com/blog/supavisor-postgres-connection-pooler
- https://elixirmerge.com/p/supavisor-a-postgres-connection-pooler-for-huge-scale
notes from author of postgres high availability cookbook #
recommendations
- cloud: CloudNativePG - kube operator manages everything
- general purpose: patroni. Set up etc, haproxy, patroni, postgres and it manages itself
- simplified, probably okay: pg_auto_failover. Needs a witness node. Good docs, much simpler than patroni.
- multi-master: edb postgres distributed. Commercial, the only option
avoid
- pgcluster: dead
- pgpool-ii: used for read/write load balancing, not HA. Not great for failover
- bucardo: trigger-based replication, deprecated after postgres logical replication
- repmgr: legacy