Repository navigation
[P1] Scale shard processing and bound hot-path concurrency - #112
apple050620312 wants to merge 1 commit into
Conversation
Is this an actual need? Because the bot can run on almost any device with enough RAM without any distributed architecture, even on an 60k guilds bot
Theorically a good idea, but in practise the ORM isn't thread-safe + instead of serving links slowly under heavily loads, this impl simply drops them + it's pretty useless with the cache
Again, theorically a good idea, but you're reinventing the wheel/adding overkill stuff
EmbedEZ doesn't really have load-related timeout problems, but It doesn't cost much, so the EmbedEZ part is pretty good. But, the semaphores adds nothing and drops links.
Generally speaking, this PR is really overkill and doesn't fit the bot style/ecosystem at all. For example, it skips its config file entierly to use env variables instead. |
Summary
Priority
P1 — removes event-loop and upstream-service bottlenecks that become critical at roughly 50,000 guilds.
Validation