We have some concerns about the availability of the Sync service around the world (namely in mainland China). Could you clarify them?
Consider the following deployment example:
- MongoDB Atlas cluster is deployed at AWS Ireland
- Realm App is deployed as a global one.
- The app is linked to the cluster
- A Mobile app uses RealmDB with Sync.
A user is in mainland China and tries to use the mobile app.
How the mobile app does service discovery? As far as I understand, there is a worldwide service for it and the whole process looks like the following:
- The mobile app asks the global endpoint “Where can I find the UniqueProjectID?” 2. The endpoint answers “Here you are https://very-long-url-that-points-to-the-cluster-in-Ireland”.
- The mobile app connects to the endpoint-in-Ireland and does synchronization
Do I understand right? If I do, is that global endpoint actually available from mainland China (we know about their Great Firewall)? Do you do something to keep working if they block the global endpoint some day (maybe accidentally, maybe intentionally)? What if the https://very-long-url-that-points-to-the-cluster-in-Ireland is blocked? Do you do something about it?
We are really interested in this topic. Actually, we discard using Google Firebase because it is not available in mainland China. Now we are considering MongoDB Realm and Couchbase. With Couchbase everything is clear. One just installs it where he needs and passes its url to the mobile application.
Could you, please, clarify how you solve (or are going to solve) this case?
Thank you in advance!