Open joyguptaa opened 5 months ago
I have gone through this issue, just want to clarify, will we deprecate discord-slash-commands after creating this?
I have gone through this issue; I just want to clarify: Will we deprecate discord-slash-commands after creating this?
No, discord-slash-command is going there as we need some service to let our bot interact with. It is just instead of other services (CRON, website-backend) telling discord-service what to do we will have a single service telling discord service what to do and when to do it (by making sure of API rate limiting)
Doc Links :
Parent Issue
References
Issue Description
This issue focuses on how we are approaching to implement the Discord service without affecting the current user flow and features. So, we will discuss everything from development to releasing & rollback strategies.
Tech Stack
Developement
The Discord service is going to be developed in Golang. The idea is to divide the entire service into 2 parts, which are listed below.
Must Have
discord-slash-command
handlesPhase 1
discord-slash-command
handlesPhase 2 : 24 Sept
Phase 3 : 6 - 10 Oct
Good to have
Current Behavior
Currently, we are not managing API rate limits globally. As a result, our system may fail at any time, for example, if it takes on 2 tasks simultaneously. Therefore, as an end user, I need to ensure that the next set of tasks is delayed.
Expected Behavior
Expecting API rate limits to be implemented globally. Failure to do so may result in system failure, particularly if it handles multiple tasks simultaneously. Therefore, as an end user, I should not worry about API rate limits, our system should be smart enough to handle it on its own. Also it should always prioritise tasks with high priority over low priority tasks.
Severity/Priority
Checklist