Multiple MongoDB database Connections in NodeJS

twitter logo ・1 min read

MongoDB allows configuring a secondary replica node to be hidden. It means that the secondary replica node will not be elected as Primary in case of primary node failure. Wait… But why we need such a replica node? The answer is that the application can transfer its analytics(read heavy) queries to this node so the primary node will not suffer any hiccup because of heavy read analytics queries.
Read More...

https://medium.com/@abhi11210646/multiple-mongodb-database-connections-in-nodejs-ee4b75cc70e3

twitter logo DISCUSS
Classic DEV Post from Jul 30

PublishTo.Dev: Scheduling article publishing on dev.to

Abhishek singh profile image
MEAN Stack developer

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️