conny.
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
Hey everyone!
We're facing a bit of a puzzle on our end. Tired of the server upgrade routine, we're playing around with the idea of spreading our workload across smaller servers for a more horizontal setup. The potential perk? It could be a game-changer for our budget.
Now, here's where it gets interesting. Djs, isn't quite on board with the whole selective shard handling thing straight out of the box, unlike some other libraries like Serenity for Rust.
We're not stressing about it, though. We're just curious – how are you handling this in your setups? Any ideas or solutions you've stumbled upon?
Let's have a chat about it. ^^
Appreciate it a ton for joining the conversation!
Best, conny.
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 9/12/2022 in #djs-questions
Bot (shards) keeps rebooting, causing me to hit the identify limit of 1k
Hey Guys,
i already sent this message in #djs-help-v14 but though it'd be a better idea to post it here.
Since i updated to djs 14 my bot (or some shards of it) keep rebooting seemingly at random..
This is my output including debug and warn logs:
I cant - for the love of god find the issue.
In this example it happens right on boot - but on my other bot with many more shards it does just happen at random during service causing my bot to hit the 1k identify limit per 24h
What i should do?
I also saw someone here asking where the REST init code is place. Idk why i think this migh be interesting to this issue but its placed right in the ready listener.
Thanks very much for the help!
- Best regards
djs v14.03.0 | node v16.17.0
9 replies