Hi,
I recently built a B2B SaaS application. Some our our clients are now asking for Data Residency. Right now all of our servers, storage and database are stored in the US. To be able to provide another location (e.g. EU), how will it works ?
Database
My guess is that I'll need a database manager where we use some of the same logic as a Multi-Tenants architecture. But then, how do you handle relationship between 2 regions and finding a user based on his email/username ?
Will I need to create a global table to find region based on id, email or username ?
If a user is in EU and the other in US, how can relationships works ? Since SQL JOIN will no longer works, do I need to add custom logic everywhere ?
I didn't even started with Auth, Hosting, Storage, DevOps, Vendors Region, ...