What does max connections mean in MongoDB with self-hosted Moralis server?

Hey guys,

Iโ€™m currently setting up my dapp with mongo db and I see that the free tier has a max connections limit of 500 connections. I understand that this means that only 500 connections can access the database concurrently.

However, Iโ€™m not entirely sure what a connection is defined as. In my case, the client only queries from the mongodb server, and is not directly connected to it in any way. All queries to MongoDB server happen through parse server. Does this mean that only 500 people can visit my dapp concurrently, or will an unlimited number of people be able to visit since they wonโ€™t be working with the database directly?

Thanks!

where did you see that limit of 500 connections?

Itโ€™s on the mongo db website. The limit is only for M0 and M2/3 tiers.

ok, it looks like it is about how many connections can be made to the database at the same time, probably you will not be affected by this

1 Like