Hello, I am noob so forgive me. But I noticed that in my managed postgresql database cluster I am limited to 22 connections. Does that mean only 22 users can use my app at a time!?

Currently a user connects to app -> app connects to api -> api connects to db


edited by bobbyiliev

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

The 22 connections are between your app and the database and won’t limit your app to 22 users. Typically an application will use a connection pool to the database and will reuse the same connection multiple times for different users. Depending on the framework being used to connect to the database, this may already be taken care of for you. Wikipedia has a great reference on [connections pools](hhttps://en.wikipedia.org/wiki/Connection_pool)

Submit an Answer