Answer the question
In order to leave comments, you need to log in
NodeJS && MongoDB. How to run on multiple servers so that mongo is not a bottleneck?
Good afternoon!
There is a project written using NodeJS and MongoDB.
We want to run it on multiple servers. But there were questions on mongodb.
If you use one database for all servers, we think there will be a load and the database simply will not keep requests from all servers.
If you use your own database for each server, then how to distribute data among the rest?
In the case of replication, how to determine that the data has already appeared on the slaves and we can send the user to the replica?
Tell me how to do it more competently here?
Answer the question
In order to leave comments, you need to log in
the database simply will not keep requests
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question