Report this

What is the reason for this report?

Question on Postgresql Database Cluster connection

Posted on October 13, 2020

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

Thanks



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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.