using a discord bot and it lags when playing music

I have a $5 droplet and I have a discord bot that download music and streams it over a app called discord I don’t know whats causing it to lag but its running like 15-30% cpu usage

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Hey there,

Lagging is never good. Being a 512mb droplet, my first thought is you’re hitting a resource limit. Often with these things the issue is memory. I would suggest doing a flexible resize to a 1gb droplet and testing again, to see if that helps the issue.

If it does, you know you need more memory and can leave your droplet at 1gb. If it still doesn’t help, the next thing I would check is the logs for your bot. There is some limit it is hitting causing it to lag and those logs would contain vital info to getting it fixed.

Finally, if you’re still not able to get it working, open up a support ticket! The support team can take a look and help out!