Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic: Decouple API code sections #159

Open
1 task
SakuraIsayeki opened this issue Feb 24, 2024 · 0 comments
Open
1 task

Epic: Decouple API code sections #159

SakuraIsayeki opened this issue Feb 24, 2024 · 0 comments
Labels
API Related to API development enhancement New feature or request

Comments

@SakuraIsayeki
Copy link
Owner

SakuraIsayeki commented Feb 24, 2024

Problem:

Certains parts of a request's flow are not contingent for it's success or failure, and can be invoked in an auxiliary manner.
However, the current implementations consider them as integral parts of the flow, meaning that any failure in these auxiliary components (e.g: Notifications) will result in a request failure, even if the essential elements of a request were fullfilled.

Objective:

These code sections should be switched to event-driven executions, triggered before/after a request's essential flow is invoked.

One easy way to implement this would be through the use of Hangfire, which allows for job triggering, in a fire-and-forget style. Further expanding on this conjecture, more parts of the code could rely on this approach for heuristic-based executions (e.g: database trimming, etc).

Workload

@SakuraIsayeki SakuraIsayeki added enhancement New feature or request API Related to API development labels Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Related to API development enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant