Given an application with regional users (regions being North America, Europe, Aisa), how do you create a replica set that allows HK users to write to the nearest nodes?
Have you looked into Tag Aware Sharding?
The balancer obeys tagged range associations, which enables the following deployment patterns:
- isolate a specific subset of data on a specific set of shards.
- ensure that the most relevant data reside on shards that are geographically closest to the application servers.