using a discord bot and it lags when playing music

June 16, 2016 27.1k views
Node.js Miscellaneous Ubuntu 16.04

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

3 Answers

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!

Regards,

--Andrew

Thank you for sharing the article. This is where I get free music: ringtonedownload . This is my favorite song: Naino Ki Jo Baat ringtone

Have another answer? Share your knowledge.