jb3 / concoction

Concoction is a Discord library for Elixir.
https://discord.gg/F6SYMSu
MIT License
2 stars 0 forks source link

Sharding #13

Closed jb3 closed 4 years ago

jb3 commented 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.

jb3 commented 4 years ago

Sharding has been implemented. This issue will be superseded by an issue which will allow for more configuration of the sharding system.