Shift-Cyber / bits

Humanoid Discord bot with too much power and a bit of an attitude...
GNU General Public License v3.0
2 stars 0 forks source link

Migrate Bits to an Interactions Endpoint URL #28

Open natesinger opened 1 year ago

natesinger commented 1 year ago

This probably isn't an immediate need but is worth thinking about from an architectural standpoint. We will want to migrate to an interactions endpoint url via web requests as opposed to the gateway so that we can load balance and build bits into a k8 cluster for scaling. This doesn't matter until we're at like 10k users probably, but at that point it allows us to handle massive load variance really elegantly and if we develop this way now it ensures we don't end up in sticky spots as we try to transition it. Challenges like "the worker will need to scale independent of the database and configuration" etc

natesinger commented 1 year ago

https://github.com/discord/discord-api-docs/issues/2167

natesinger commented 1 year ago

Looks like it might be limiting as well if its restricted to slash commands, seems very tbd.

natesinger commented 1 year ago

Cherrypicked for Bits Release v1.1.0: Minor