News for hackers. Stuff that matters.
Re:RethinkDB is shutting down by kod on Thursday October 06, 2016 @08:28AM (#12651842)
pgbouncer
Re:RethinkDB is shutting down by orthecreedence on Thursday October 06, 2016 @01:03PM (#12654065)
How do you pgbounce a bunch of poller connections? pgbouncer has an event-based acceptor on the front, and a connection pool on the back. If all the connections in the pool are taken, then it will queue up the incoming connections until a backend connection is available. If all backend connections are long-polling, then incoming connections will just hang.
Re:RethinkDB is shutting down by kod on Thursday October 06, 2016 @02:13PM (#12654688)
If all the connections in the pool are taken, then the database wouldn't have been getting meaningful additional work done anyway, regardless of your scheme for accepting connections.

Having 100-1000x more active connections than you have cores on the box is worse than useless, it's actively detrimental.

Re:RethinkDB is shutting down by habitue on Thursday October 06, 2016 @09:14PM (#12657435)
Except it works just fine for RethinkDB because it was designed from the ground up to efficiently send changes from the shards directly to open connections. It's a design tradeoff postgres didn't make and they get other benefits rethinkdb doesn't have. But for this use case RethinkDB has a distinct architectural efficiency advantage