I'm starting to evaluate envoy to build our company's microservices. Our product is SAAS platform. Each customer is a separate organization and each organization's data belong to different dataCenter( logical dataCenter). The reason is that Europe customer wants to keep their data in Europe instead of US.
For example
Customer OrganizationId DataCenter
customer1 1 US
customer2 2 CA
customer3 3 EU
We are trying to build microservices to manage the data in each DataCenter. Our current thought is to deploy a cluster of the microservices in each dataCenter, so the service node is close to the data.
In production, we have more than 20k customers ( organizations) and 3 dataCenters. The microservice client can only provide organizationId when it calls the microservices. How should I use envoy custom RDS to for this scenario?
One solution I can think of is we will provide the full organizatioId <-> DataCenter mapping in the RDS api (GET /v1/routes/(string: route_config_name)/(string: service_cluster)/(string: service_node)), but the downside of this approach is that the mapping will pretty long because we have more than 20k customers (organizations)
My question is will this be a problem for envoy and is there any other option?