Markoudstaal / node-red-contrib-discord-advanced

Recieve, send, edit and delete Discord messages in node-red.
MIT License
46 stars 16 forks source link

Discord Sharding #69

Closed alokt closed 1 year ago

alokt commented 1 year ago

Hi @javis86 thank you for this amzing node-red tool.

Wanted to start a discussion related to sharding. Once bot will reach to more than 1000 guilds we also need to do sharding.

Auto sharding const client = new Client({ shardCount: "auto" }); is a quick solution for some time.

Is there any plan to support ShardingManager? Happy to contribute.

javis86 commented 1 year ago

I think it´s possible to add internal Sharding without any impact of the current functioning. Would SharingManager work through several nodered instances? Do you have some experience executing ShardingManager to run the shards in differents containers/VMs? This is in order to evaluate the correct functioning if it is implemented.

javis86 commented 1 year ago

It could be added

javis86 commented 1 year ago

Done in 3.4.1