Closed jb3 closed 4 years ago
The library should be able to scale and shard the bot using the response from /gateway/bot (which is already used to fetch the gateway URL).
There is no reason to use separate logical processes automatically but instead allow for configuration so if necessary users can implement that.
Sharding will need updates to the gateway and the heartbeater to allow more than one of them to run on a node.
Sharding has been implemented. This issue will be superseded by an issue which will allow for more configuration of the sharding system.
The library should be able to scale and shard the bot using the response from /gateway/bot (which is already used to fetch the gateway URL).
There is no reason to use separate logical processes automatically but instead allow for configuration so if necessary users can implement that.
Sharding will need updates to the gateway and the heartbeater to allow more than one of them to run on a node.