You need to collect some data so we know what is the bottleneck.
Prometheus exporter plugin for Discourse