Replies: 3 comments 2 replies
-
There is no Patroni template for the project yet. Any ideas of the best way to go on the subject ? The most common setup seems to be a HAProxy + pgbouncer kind of way which could be replicated. |
Beta Was this translation helpful? Give feedback.
-
One thing i was wondering about: you can publish DNS records with DCS systems like etcd+skydns/coredns or consul ... so if i have a DNS record with a very short TTL for the leader/primary, would pgagroal handle it gracefully with regards to caching retry when the primary node switches around due to failover/switchover. |
Beta Was this translation helpful? Give feedback.
-
the failover handling I would probably leave to patroni. how long does pgagroal cache the dns result? but having patroni trigger a "flush-gracefully" before the failover and hopefully wait for the "flush" to finish sounds like a neat way. |
Beta Was this translation helpful? Give feedback.
-
Especially with regards to make the failover from one primary to a replica as seamless as possible.
Beta Was this translation helpful? Give feedback.
All reactions