Set Up PgBouncer – PostgreSQL Connection Pooling on VPS
PgBouncer on VPS/root server: install, pool_mode, max_connections, Docker & systemd – make PostgreSQL 10× more efficient for web apps.
Quick answer: PgBouncer recycles PostgreSQL connections – instead of 500 connections only 20 real ones. Install between app and DB on your VPS.
Related
VPS & root servers: Order VPS in Germany · nexorahost.com (Maincubes FRA01 Frankfurt · Ryzen · NVMe)