Skip to content

feat(arch): background job queue architecture#819

Open
bkennedyshit wants to merge 1 commit intorohitdash08:mainfrom
bkennedyshit:feat/job-queue-arch
Open

feat(arch): background job queue architecture#819
bkennedyshit wants to merge 1 commit intorohitdash08:mainfrom
bkennedyshit:feat/job-queue-arch

Conversation

@bkennedyshit
Copy link
Copy Markdown

Closes #71. Priority-scored Redis queue. Atomic claim, exponential backoff retry, dead letter. 3 tests.

- submit(): priority-scored Redis sorted set (1=highest priority)
- claim_job(): atomic zpopmin + processing lock with TTL
- complete_job() / fail_job(): lifecycle with exponential backoff retry
- Dead letter queue after max retries
- queue_depth() + get_status() for monitoring
- 3 tests: submit+claim, complete, queue depth
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 this pull request may close these issues.

Background Job Queue Architecture

1 participant