I have a server with postgresql database and pgbouncer connexion pooler. I testing with jmeter my server with different settings of pgbouncer and I managed to execute 5000 "simultaneous" requests without having any error. This result is good for now, but one day I would come close to its limits and I would like to konw how can I increase this limits ? For get this limits I have put this parameter for pgbouncer / psql :
- MAX_CLIENT_CONN = 100000
- DEFAULT_POOL_SIZE = 50000
It's not my CPU or Memory which saturates... Are there any solutions to deploy multiple instances of psql or pgbouncer to improve these results?