Need some help with server mods/optimisation
So, I’m hosting a Fabric server with the following mods:
• Lithium
• Krypton
• TCPShield
- luckyperms
(and some other mods I don’t remember at the moment).
The setup is an Azure VM as the frontend (where players join via a domain), using FRP (fast reverse proxy, a tunneling tool to forward traffic from the public VM to a backend server without needing to port forward directly) to connect to the actual backend server. I chose this because reverse SSH tunneling was unreliable, and I didn’t want to expose ports directly.
The problem: The server has lag spikes. When I press F3 + 3 it’s mostly green, but it occasionally spikes to red and covers half the screen. The Minecraft version is 1.21.1. Does anyone have recommendations for mods (or other tweaks) to help fix this?
Also red in like you can notice it happening sometimes it’s for a longer period
4 Replies
What
Is it tcpshield -> frp -> azure?
Send a spark
!spark
Spark Profiler
Spark can be used to see why your server or client is lagging.
Users can share a spark report via
/spark profiler start --timeout 300 which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support.
Download | Website | Docs
Admincraft Canned Responses
Also wouldn’t recommend vps for just game hosting, get shared hosting for cheaper and better performance
Or are you just hosting frp on azure and the actual server is at home?
I’m using tcpshied plugin so it’s on the backend
I’m just hosting frp on azure and the server is at home
Gotta download it I’ll do it in like 9 hours when it’s not 2am Lol