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?
thank you! ❤️
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
regardless, do you have an example of an implemented custom build strategy function for me?
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
i can't help but to feel like im trying to imitate what the shard manager would already do by itself
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
might be a silly load of questions im dropping here, excuse me haha
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
how could i change that? Would using the shard manager set to worker mode not be a simpler solution for the same outcome?
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
Currently we're talking 22 shards with approx. 33k servers in total.
We're just playing with the idea to make sure we're clear for the future ^^
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
The worked mode is enabled by default when utalizing the method mentioned above? (Shard list in client constructor)
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
Just for my curiosity tho, if i wanted to use the shard manager, i would now declare that information in the client directly right?
i would assume i would use the property hightlighted in my screenshot?
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
excuse my scepticism, i've been working with the shard manager all this time and apparently i could've spared me some valuable time.
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
oh right
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
like this for example?
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
It's honestly just way i have done it since ever. There is no explicit reasoning behind it.
How would i run such an infrastructure? I would get rid of the sharding manager and "plop" the shard informations into the client options instead?
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
Yes haha
but you told me the shard manager is not required. can i still use it tho?
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
They don't really.
But would i still be able to use a sharded model, to - f.e. - just half my workload? So to say run 50% on one server and on another the rest?
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
Thats very interesting, where are ClientOptions being utalized?
I thought this might be a part of the ShardManager, is it not?
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
hmm to be fair, i still can't find that in djs's guides. However, i will try it out. This might be exactly what we're looking for. thank you!
20 replies
DIAdiscord.js - Imagine an app
•Created by conny. on 12/30/2023 in #djs-questions
How are you guys realizing horizontal scaling with djs?
Oh my this is a thing by now? To be completely honest, i haven't looked into shard handler changes since djs12 or so
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
Yes thats it <:skull_AE:782432492409454623>
9 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
I’ll let it run for a bit but I’m pretty confident That that’s the issue 😭
9 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
9 replies