4 ms·
Is a load balancer HA?
by doctorpangloss 4mo ago
Is a load balancer HA?
- gchamonlive 4mo agoNot by itself if it's naive, but if it's able to assess target health and avoid degraded instances then it becomes a component in HA, the other being integrating an orchestrator for gracious recovery.
- doctorpangloss 4mo agofrom their docs: > PgDog does not detect primary failure and will not call pg_promote(). It is expected that the databases are managed externally by another tool, like Patroni or AWS RDS, which handle replica promotion.
- nikolatt 4mo agoWhy the snark comment? The PgDog project has been around for a while, it's not vibe coded.
- doctorpangloss 4mo agookay, it does appear that the LLM didn't write any of this. i guess the simple answer is that it is not HA.
- znpy 4mo agoNot gp but I didn’t perceive any snark in the comment you are replying to
- dev-ns8 4mo agoCombined with a replication strategy and automated health checks, a load balancer could direct traffic to a healthy instance automatically.
- dotancohen 4mo agoWhat happens when the load balancer fails?
- inigyou 4mo agoHA has to be all the way through, in which case you might not need a load balancer because each client already connects to a separate server. If you do, then you can have one load balancer per client machine.