feat(jobs): Redis-backed job queue as alternative to PostgreSQL polling #103
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ref: docs/WORKERS.md, docs/MODULES.md §3.9
The current job queue uses
SELECT FOR UPDATE SKIP LOCKEDagainst PostgreSQL for atomic job claims. This works well at low volume but adds polling load to the database as runner count grows.Add Redis as an optional, higher-throughput job queue backend:
Scope:
BRPOPLPUSH/BLMOVE) for job dispatch — runners block-wait instead of pollingConfig:
Key design points:
Not in scope:
Depends on #98 (module system — jobs module gate).