Hi all,
Happy New Year !!!
We have our users based out of India and we are using Firebase hosting (for web) & Firestore DB as the data provider for the app.
The app is always directly talking to FireStore DB.
But we do use lot of Cloud functions to do backend computations for the data in Firestore based on the user update events from the App.
The question is how should I select the region
Firestore has location in asia-south1 (Mumbai).
Cloud Function DOES NOT have location in asia-south1(Mumbai). The nearest one is asia-east2 (Hong Kong).
Is it advisable to host the App, Firestore DB & Cloud Function together in one location. In this case asia-east2 (Hong Kong)
OR
Should we keep the App Hosting & Firestore DB in asia-south1 (Mumbai) region (Close to Users) & Cloud Function in asia-east2 (Hong Kong)
PS: The cloud functions are very critical for us as the updates made by user in the app has to be computed (Cloud function) and reflected immediatley in the UI.
Regards,
Sijohn Mathew