logoalt Hacker News

eikenberrytoday at 5:12 PM4 repliesview on HN

> The reason DBs like Mongo or Dynamo exist is because Postgres has a scaling problem.

I've used Postgres at a few places and the #1 problem was always high availability, not scaling. One Postgres cluster could easily handle 100000 transactions per minute, but when a primary node went down it was a page and manually failing over to the spare then manually replacing the spare. The manual tooling was very finicky but at least it worked, no automated solution came even close. Lack of a good HA story is why I avoid self-managed Postgres as much as possible.


Replies

levkktoday at 5:19 PM

Good thing we support HA as well: https://docs.pgdog.dev/features/load-balancer/

Load balancer with health checks and failover, works out of the box. :) Battle-tested at this point too, so could be worth a look.

show 3 replies
parthdesaitoday at 6:23 PM

Patroni 1.0 was released in 2016, i.e ~10 years ago.

https://github.com/patroni/patroni

show 1 reply
tempest_today at 6:03 PM

Patroni serves this niche pretty well at this point.

globular-toasttoday at 5:17 PM

Have you looked into things like CloudnativePG? https://cloudnative-pg.io/

show 1 reply