Hacker News new | past | comments | ask | show | jobs | submit login

I’m not an expert, but from what I understand, the standard set up is like:

4x(Web processes) -> 1x(pgbouncer) -> database

This ensures that the pgbouncer instance is effectively multiplexing all the connections across your whole fleet.

In each individual web process, you can have another shared connection pool.

This is how we set it up






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: