News for hackers. Stuff that matters.
Re:DigitalOcean S-1 by invisiblea on Thursday February 25, 2021 @09:34AM (#26263134)
I'm _really_ disappointed with the managed DB service. The "75 simultaneous connections per gigabyte of usable memory" limitation means cost wise it's cheaper just to spin up a 'real' database droplet.
Re:DigitalOcean S-1 by coder543 on Thursday February 25, 2021 @09:38AM (#26263167)
> means cost wise it's cheaper just to spin up a 'real' database droplet.

This is the case for literally every managed database service that I'm aware of.

You pay a premium for the managed aspect.

Re:DigitalOcean S-1 by invisiblea on Thursday February 25, 2021 @10:11AM (#26263528)
That's an entirely fair point, but frustrating that the connection limits are not clearer in the docs.
Re:DigitalOcean S-1 by coder543 on Thursday February 25, 2021 @10:20AM (#26263648)
FWIW, if you’re using 75+ connections, it’s probably a good idea to add some kind of Postgres proxy in the middle like pgbouncer. Postgres doesn’t handle lots of connections well because each connection forks off its own full OS process, and the performance can degrade noticeably when you have too many connections to Postgres as a result.

That’s been my experience, at least.

Re:DigitalOcean S-1 by fastball on Thursday February 25, 2021 @10:42AM (#26263960)
And DO's hosted Postgres allows you to easily configure pgbouncer.
Re:DigitalOcean S-1 by fastball on Thursday February 25, 2021 @10:41AM (#26263946)
I'm very happy with the managed DB service. A few gotchas, but the service itself has been incredibly stable with 100% uptime from what I can tell.