Intermittent slow page load times

AI-generated summary

The user anaqreon reports intermittent slow page load times (3–20 seconds) on their Discourse site, occurring roughly once every ten page loads, particularly during navigation with keys G and J. The issue is linked to slow responses from /timings and 123.json?track_visit=true&forceLoad=true endpoints, despite adjusting the “flush timings secs” setting. The site runs on Kubernetes using the Bitnami Helm chart and the docker.io/bitnami/discourse:2.7.8-debian-10-r0 Docker image, which is not officially supported. pfaffman directs anaqreon to the Troubleshooting Bitnami Installations guide for further help.

My Discourse site (only a few dozen users and very little activity so far) exhibits intermittent slow page/component load times that can be anywhere from 3-20 seconds. This occurs approximately once every ten page loads (as I repeatedly press keys G, J to cycle through posts, for example). During these events, the spinner spins and the user has to simply wait.

I have been watching the browser dev console and the server log as I navigate around trying to identify the cause of these slow load times, and I have identified at least two of the culprits: /timings and 123.json?track_visit=true&forceLoad=true (where 123 is the topic ID).

Changing the “flush timings secs” site setting does not seem to change the behavior.

Does anyone have advice how to troubleshoot this problem? A few seconds here and there would be tolerable, but I fear that these frequent 5-20 second load times will stifle use of the platform.

Our instance is deployed on Kubernetes using the Bitnami Helm chart, Docker image docker.io/bitnami/discourse:2.7.8-debian-10-r0. I know this is not an officially supported deployment method but it is at least a well-known, reproducible deployment.

See Troubleshooting Bitnami Installations.

I knew I should have kept our deployment method a secret :laughing: Thanks for the link.