I am having trouble finding documentation on where exactly cursors are stored in a sharded cluster, and would like to better understand how cursors work internally.
Main reason for this being that there is a decision in the company I work at to couple 1 mongos instance with each application instance, the reason stated being that in a sharded cluster, cursors are stored on the mongos processes in memory. I have, however, come across sharded cluster deployments that do not have the same architecture - only having a few mongos processes running on larger machines to allow more client applications to connect to them.
Is there any definitive way to find out this information? I’ve searched online for documentation, but have come up short.