Production
Standby
Disaster Recovery
Hi Daniel
I’m not certain why you need to split the deployment into 3 different names (Production, Standby, and Disaster Recovery), since if I understand correctly, they’re all part of a single sharded MongoDB deployment, even though they’re located within different data centers.
From your description of your deployment topology, I would recommend:
mongod
in the same machine, since this would create a resource contention. Instead, it’s best to have a single machine dedicated to a single mongod
. This would ensure each mongod
can extract the maximum performance of the underlying hardware.mongod
within the shards themselves. Config servers contain vital information for your sharded cluster.mongos
query routers in the same machine as your application servers, instead of within the deployment machines.For optimal performance, you may want to align your deployment to the recommended settings described in the following links:
Best regards,
Kevin