Our website is https://www.addy.co.nz/, providing address autocomplete and address validation to New Zealand customers. The predictive, suggest-as-you-type address autocomplete API should be really fast to provide a great user experience.
We’ve started using Cloudflare for DNS and load balancing. We’ve also enabled Argo for improved performance.
1. No Cloud Workers - Argo Enabled - Orange Cloud Enabled
It takes between 300 to 1100ms to complete an address search request when traffic is routed via Cloudflare.
2. Cloud Workers for Caching - Argo Enabled - Orange Cloud Enabled
It takes between 800ms to 1300ms to complete an address search request when hitting the Cloudflare cache to fetch requests.
3. No Cloudflare - Direct Origin Access
Bypassing Cloudflare and making requests to origin servers in Melbourne and Sydney directly takes between 45 to 70ms to complete from New Zealand on a fiber connection.
It appears like Cloudflare adds a huge latency performance tax of at least 300ms+ per request.
Is this type of performance expected? (e.g. 500ms instead of 50ms?)
Did we configure something wrong, which could cause the poor performance?
Are other experiencing the same performance?
What is the expected before and after Cloudflare performance?