Based on the information you have provided, I understand the following about your issue:
- You have a website running on GCE that is running the latest version of Debian and PHP-FPM 7.3, using CloudFlare CDN (with the Cloudflare Argo feature enabled) and WordPress (using nginx with caching enabled).
- The reports that you are receiving from Stackdriver Uptime Check is that the website’s latency graph is constantly spiking up and down which is unusual compared to your other website you have running.
Since you have already ruled out that after testing outside of CloudFlare, the latency issue did not change. We could believe that the issue could be related to the server itself, or GCE.
However, keep in mind that latency issue could be caused by many things, and by looking over this situation, these are the following possible causes:
- Latency issues could be caused by Wordpress, as the application is CPU intensive which could cause issues when working on the app.
- Latency issues could also be caused by the traffic that is passing through the website. If you have users going in and out of your website, this could cause major latency issues as the web server is attempting to accommodate the users accessing the pages.
- Depending on how you have set your VM instances on GCP, it could also be that you may not have enough resources set to accommodate the users passing through the website. It would be best to review your resources set on the VM, and adjust them to accommodate your needs.
An alternative way to fix latency issues on GCP is to have Load Balancing on your project. I would suggest looking into implementing a Load Balancer to optimizing application latency.
Hope this help!