Connection Limits
In most cases on Compose, database connections is managed through HAProxy or other portals. Connection limits for portals are enumerated in the table below. If you need more connections, it is possible to add portals via the Security page on your deployment.
Deployment Type | Number of Connections | Per | See |
---|---|---|---|
MongoDB | 5000 | Mongos router | |
PostgreSQL | 100 - 1000 | Deployment | 1 |
Elasticsearch | 2000 | HAProxy portal | |
Redis | 4096 | HAProxy portal | |
RethinkDB | 2000 | Rethink Proxy | |
RabbitMQ | 1000 | HAProxy portal | |
etcd 3 | 2000 | HAProxy portal | |
Scylla | 1000 | HAProxy portal | |
Compose for MySQL | 95 | HAProxy portal | 2 |
1: PostgreSQL: If your database needs more connections and you are unable to set the connections value any higher, then add additional resources , and check to see if the connection limit can be raised.
2: Compose for MySQL: There is a MAXIMUM of 151 connections per deployment.
Still Need Help?
If this article didn't solve things, summon a human and get some help!
Updated over 3 years ago