Hi, what is the best practice for connecting a small server to MongoDB:
1 - creating a connection pool
2 - catching errors and reconnecting if the connection is lost?
Skip to main content
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Cannot remove data on MongoDB (MERN stack) | 2 | 929 | Apr 2024 |
CountDocuments is too slow on huge data (with proper indexes) | 2 | 785 | May 2024 |
MongoDB ATLAS Data for specific database is Not Updating, Why? | 0 | 448 | May 2024 |
Use $setWindowFields to group daily users registered by channel | 1 | 147 | Aug 2024 |
How to slice or limit for each array item inside $in and $match | 6 | 72 | Nov 2024 |