Super high latency to Discord API

My server is in dusseldorf, germany. My bot is experienced with an average ping of about 2000 to 3000 milliseconds. Any suggestions cos like, i'm strugglin here. Ask me any questions to get a more broader idea of my problem. Cheers.
No description
3 Replies
d.js toolkit
d.js toolkit5mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
AJ
AJ5mo ago
Bot is using discord.js library bot is using discord-hybrid-sharding, 9 clusters, 34 shards, 35,000 servers. I have inspected htop on my server, it does seem fine tbf, a little spike now and then but that's expected. iftop - seeing bandwith usage, im not very good at reading properly, maybe someone could help me with this? I have an API which gets about 300,000 simple GET requests per day. It returns a single image from a database of 50,000 images (account for bandwidth). this API process uses the most cpu
monbrey
monbrey5mo ago
Thats a particularly bad latency for it to just be because of the distance between Germany and the US Unless its your API throttling your network bandwidth This really doesnt seem related to the discord.js library though