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

Mark failed jobs in database. #55

Open
heemankv opened this issue Jul 24, 2024 · 0 comments
Open

Mark failed jobs in database. #55

heemankv opened this issue Jul 24, 2024 · 0 comments
Assignees

Comments

@heemankv
Copy link
Contributor

Current system doesn't mark failed jobs as Failure status, we need to implement the same.
There are few ways to go about this :

Don't bubble up the error, update state and move on

- Pro : DB is up-to-date.
- Con : Can't implement retry logic.

Update then bubble up

- Pro : retries then update state.
- Con : too complex, not for MVP.

Dead Letter Queue

- Pro : easy to implement.
- Con : too many queues.
@heemankv heemankv self-assigned this Jul 24, 2024
@heemankv heemankv linked a pull request Jul 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant