In the real-time monitoring screen of MongoDB Atlas,
there is a section for connections which shows numbers like 227 to 240.
I’m only using MongoDB connected to three EC2 application servers, and to me, the number of connections seems too high. Is it common for everyone to have this many connections?
Hi @Jin_Hwan and welcome to the community forum!!
As mentioned in the official MongoDB documentation
Different Atlas tiers have different connection limits; clusters of size
M0/M2/M5
, for example, are limited to 500 connections, and clusters of sizeM10
are limited to 1500 connections. Larger cluster tiers have higher connection limits
It would be helpful for us to understand the below to help you with a possible solution:
- What is the Atlas Tier that you are using ?
- Do you see any performance issues with increasing number of connections?
- What driver are you using to make the connection to the database at the application end?
- Finally, could you also help me with the cone snippet where you are trying to make the connection with Atlas?
The answer to the above questions would help us identify the issue if any and help you with a possible solutions.
Regards
Aasawari
1 Like
I apologize for the late reply
- What is the Atlas Tier that you are using ?
- M10
- Do you see any performance issues with increasing number of connections?
- I think There don’t seem to be any performance issues
- What driver are you using to make the connection to the database at the application end?
- nodejs driver
- Finally, could you also help me with the cone snippet where you are trying to make the connection with Atlas?
- I think I didn’t know about “connection” but I know now so I can understand why my connection was like that
thank you for your advise
thank you~~