-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal Sharding #1414
Comments
This seems good, shouldn't be too hard to implement once the WebSocket rewrite is merged into master as it's mainly just a case of creating more |
So will bots be auto-sharding now or will the option to turn on / off internal sharding be a thing? |
+1 (sorry if this is spam) |
this is being handled by #1501 P.S. @CakeNetwork internal sharding will be off by default |
@DiscordDonut That would probably be true. I don't see any reason why it would be turned off by normal. EDIT: Just now saw devsnek's comment. |
It would be turned off by default because it's dumb. |
Is this still in progress? |
look at the Internal Sharding branch, this branch is currently in testing of some bots from D.js staff and after they are sure that it works correct without bugs they will merge it into master. |
Starting with v12.0.0 add an option for internal sharding. This would be different than the traditional sharding manager, in that your one Discord Client/process would handle sharding with discord rather than spawning multiple processes with their own Discord Client instances each.
Benefits:
shardCount
to an integer (number of shards) or as the string 'auto' to automatically determine how many internal shards should be created.Drawbacks:
Sizes in this issue are based on the frequency of events handled, not via number of guilds.
The text was updated successfully, but these errors were encountered: