Question on Postgresql Database Cluster connection

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


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

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