NeonN
Neon2y ago
5 replies
skinny-azure

Connection Pooling limit question

Hello everyone,

I use connection pooling in my nextjs application. But there's something I'm having trouble understanding. In the documentation, it says that the connection limit in a pool is 64.

However, my nextjs application uses (among other db operations) a middleware for authentication that checks against the database.

Does this mean that beyond 64 users on my app, the database will slow down? Each time a user triggers the middleware, one connection out of 64 (lasting 5 minutes) is counted?

Could you please clarify this for me, as I think I'm mistaken.

Thank you and have a nice day
Was this page helpful?