MediumConceptNoSQL and operations
How does MongoDB sharding choose where data lives?
What a good answer covers
A shard key determines how documents are split into chunks across shards. A good key has high cardinality and even distribution, and a monotonically increasing key creates a hot shard.