Skip to content

Feat: Implement job queue + workers + drivers #25

@3m1n3nc3

Description

@3m1n3nc3

Background: Background processing with queues improves throughput for expensive operations.

Tasks:

  • Define Job contract and serialization format.
  • Implement QueueManager and drivers (sync, database, redis).
  • Implement worker process/console command to process jobs.
  • Implement retry/backoff and dead-letter handling.
  • Add tests for sync and database drivers and worker behavior.
  • Document how to create queued jobs and run workers.
  • All tasks should placed in the packages/queue directory

Acceptance criteria:

  • Jobs can be dispatched to different drivers.
  • Worker processes jobs and honors retry/backoff.
  • Interface mirrors laravel as much as possible, creating the familiar DX while also adding it own unique twists and turns.
  • Tests available.

Difficulty: large

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions