Question
Incoming connections versus outgoing mongos connections: what does each limit govern?
Answer
Incoming connections are client sockets accepted by a mongod or mongos. Outgoing mongos connections are router-maintained connections to cluster nodes. Size incoming capacity for client demand; investigate mongos-to-shard availability when routed operations wait. Applies to self-managed MongoDB and Atlas.