Latency Issue with Custom Domain
hello ,
we have a scenario where we are calling the self hosted zitadel instance via a custom domain. The Zitadel instance is hosted in UAE region.
We have observed a latency increase on this setup and below are the observations:
1. We have a postgres RDS instance in the same region and same cluster
- The latency drops by 200ms if we keep the postgres DB in the same container as Zitadel and do not use RDS.
We have to use RDS , so is there any configuration to make on RDS to reduce latency, or this cannot be the reason
2. Another observation is that when our services (UAE region )communicates with Zitadel(UAE region) , cloudFlare is resolving DNS to California , can this be a reason, if yes .... can we have a custom domain which we can use to access console and a internal domain to access the Zitadel API avoiding DNS resolution.
because when I try hitting the local domain at 8080, I get an error that the instance is hosted on. <custom Domain> .
Can you please suggest the best approach here
we have a scenario where we are calling the self hosted zitadel instance via a custom domain. The Zitadel instance is hosted in UAE region.
We have observed a latency increase on this setup and below are the observations:
1. We have a postgres RDS instance in the same region and same cluster
- The latency drops by 200ms if we keep the postgres DB in the same container as Zitadel and do not use RDS.
We have to use RDS , so is there any configuration to make on RDS to reduce latency, or this cannot be the reason
2. Another observation is that when our services (UAE region )communicates with Zitadel(UAE region) , cloudFlare is resolving DNS to California , can this be a reason, if yes .... can we have a custom domain which we can use to access console and a internal domain to access the Zitadel API avoiding DNS resolution.
because when I try hitting the local domain at 8080, I get an error that the instance is hosted on. <custom Domain> .
Can you please suggest the best approach here
