I am trying to make mongodb set-up, I am trying to analyze risk factor involved in it.
My configuration in testing environment is
Routing server------> Config Server ------- > Shard01
Shard02
Shard03
My routing server and config server is running on same machine. Shard01, Shard02, Shard03 are running on three different machine respectively. I want to analyze what all risk factors are involved in this system. For example, one scenario is if any Shard machine is down application will stop?
system
) fails, you are in big trouble. You should always use replica sets as shards. Note: If doing otherwise, proceed at your own risk.A less well known feature of the MongoDB drivers is that you can configure them to use multiple mongos instances. If the first one fails, the next one is tried. So, with multiple mongos (one per application server), proper data source configuration, three config servers and replica sets as shards there is no single point of failure (node wise).