Route Server - mongos
NAME mongod - MongoDB Server
SYNOPSIS mongod is the primary daemon process for the MongoDB system.
It handles:
- data requests
- manages data access
- performs background management operations.
This document provides a complete overview of all command line options for mongod. These command line options are primarily useful for testing: In common operation, use the configuration file options to control the behavior of your database.
The Mongo shard server, Mongos is the router for all your applications commands. It sits between your application and the shards. It consults the config servers to figure out how to route the commands. It figures out where the documents live. It sends commands to the actual shard servers on your application's behalf. In the case where the query needs documents from multiple shards, it even cobbles the results together for you. So if your query needs to visit several shards, your application doesn't need to worry about connecting to multiple servers on its own.