How to decrease the latency of self-hosted relay server

I have a simple application server, and I have set up a relay server on it. I hope that while I use it myself, I can share some of it with everyone. But I found that the latency of my server is extremely high. The operation of joining the relay can be completed in a very short time, but the proxy latency can be as high as 8 seconds, making it impossible for me to establish a connection. Is there any solution? The command I used to start the server is “strelaysrv -global-rate=300000 -per-session-rate=9000”

See if it happens when you run it without rate limits. I can’t remember the limit units off the top of my head, but if it’s bytes, 9000 might not be much.