django-yadpt-starter
django-yadpt-starter copied to clipboard
Add a DB connection pooler
Consider adding something like https://github.com/pgbouncer/pgbouncer
https://hub.docker.com/r/brainsam/pgbouncer/ (alpine) or https://hub.docker.com/r/kotaimen/pgbouncer/ (debian)
It would be nice to include this in https://github.com/psychok7/django-yadpt-starter/milestone/4
An interesting resource: https://www.percona.com/blog/2018/10/02/scaling-postgresql-using-connection-poolers-and-load-balancers-for-an-enterprise-grade-environment/