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.
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 WebSocketConnections 馃憤
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.
Most helpful comment
It would be turned off by default because it's dumb.