pgbouncer did great https://munin.octodon.social/octodon.social/main.octodon.social/postgres_connections_db.html
@CobaltVelvet did you run into any trouble using pgbouncer with active record stored procedures?
@foozmeat Yes I did, I had to disable prepared statements for it to work.