I am using an ubuntuu droplet on the 6 dollar a month plan. I have a basic rust (language) server, simple server (github.com), that I am running on the server. I can connect clients to it and when they move it is registered and they get updated when other players move. when the server is running locally it works fine. Hosted, there is second long lag and stuttering. I am curious if this has anything to do with the plan I selected not being suitable for this. I am averaging 22ms when I ping, so that seems fast enough. Im out of my depth here and am trying to cross off the hosting as a culprit. Thank you.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hi there,
In addition to what has already been mentioned, it sounds like the lag and stuttering issues on your multiplayer server could be closely related to the resources available on your current DigitalOcean droplet. Given that you’re using the $6/month plan, the resources (particularly CPU and RAM) are relatively limited, which might not suffice for a multiplayer game server, especially when handling multiple connections.
What I could suggest is:
Upgrade to a CPU-Optimized Droplet:
Monitor Performance:
htop
command to keep an eye on your server resources utilization:Keep in mind future scaling. As your user base grows, you might need to further scale up your resources.
Let me know how it goes!
Best,
Bobby
Heya @mrjacobtaiwancoral,
It’s possible your Droplet can’t handle the actions. If not mistaken the Droplet has 1GB of RAM and 1vCPU. That might be enough to host the application but any more actions could be putting a strain to your Droplet.
It’s easy to check though. Enter your Droplet via SSH and monitor it. You can do that with
w
htop
top
. Alertnatively, you can use DigitalOcean’s Monitoring :https://docs.digitalocean.com/products/monitoring/
DigitalOcean Monitoring is a free, opt-in service that gathers metrics about Droplet-level resource utilization. It provides additional Droplet graphs and supports configurable metrics alert policies with integrated email Slack notifications to help you track the operational health of your infrastructure.