Introduction
Mongos acts like a traffic controller that directs database requests to the right place in a sharded MongoDB setup.
When your database is split into parts (shards) to handle lots of data.
When you want to make sure queries go to the correct shard automatically.
When you need to balance the load across multiple servers.
When you want to hide the complexity of multiple shards from your application.
When you want to scale your database horizontally.