How to handle database connections?

How many simultaneous connections will a shared database on Heroku allow?

  • Their docs say "Database performance on Heroku is measured by connections, memory, and CPU Units." but the pricing page only lists connections and memory for the dedicated databases. How many connections and how much memory does a shared database get?

  • Answer:

    Answer, from Heroku support: You should be safe with up to around 20 connections. If we detect you're using too many connections we'll cap it and get in touch with you. (Emphasis mine)

Jordan Feldstein at Quora Visit the source

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.