Records each job in Postgres, queues it in a Redis stream or sorted set, and has workers POST its payload to a callback URL with jittered exponential backoff, parking exhausted jobs in a dead-letter list. A leader-elected scheduler spawns cron instances. Go, with Terraform for AWS ECS.
- 22 msp99 submit (local)
Trade-offs
- At-least-once delivery with idempotency keys instead of exactly-once: honest about crashes, so every delivery carries
Idempotency-Key: jobID:attemptand receivers dedupe. - Postgres plus Redis rather than one system: an auditable record of every job and attempt, at the cost of a transactional outbox and a reconciler to close the hand-off between them.
- One Redis leader lock for the scheduler instead of consensus: simpler, with no fencing token, so uniqueness keys and a worker generation guard cover the gap.
Q&A3
The same job: an identical request with the same
idempotency_key returns 200 and the original id, while a different body under that key returns 409. Keys are unique across all API keys.Attempts are incremented before the call, so the crash is visible. Pending entries idle for 60 s are reclaimed, and generation fencing keeps stale or cancelled work from completing.
No. Callback URLs are checked against SSRF at submit with a DNS lookup, and the outbound POST is pinned to the checked address, following only same-host 307 and 308 redirects.
Links
- GitHub(opens in a new tab)github.com/BurhaanAshraf/Job-Scheduler-Platform
- Load tests(opens in a new tab)github.com/BurhaanAshraf/Job-Scheduler-Platform/blob/74d5ee552b06f6f725aa110478f5838681418df3/docs/load-test-results.md
- Architecture(opens in a new tab)github.com/BurhaanAshraf/Job-Scheduler-Platform/blob/74d5ee552b06f6f725aa110478f5838681418df3/docs/architecture.md
- Comparison(opens in a new tab)github.com/BurhaanAshraf/Job-Scheduler-Platform/blob/74d5ee552b06f6f725aa110478f5838681418df3/docs/comparison.md
Built by
Reviews
Loading reviews
More in Idempotency
See all 8 →
blitcpFile copier that reads in disk order, dedupes and streams over raw SSH- RRQClosed-loop payment ledger on sharded Postgres with a Kafka outbox
- clinkC++ stream processing engine that stays correct when processes die
Paperless NGX DedupeNear-duplicate finder for Paperless-NGX on MinHash and LSH- File HunterSelf-hosted catalogue of archive drives that stays searchable offline
- FinCore EngineSelf-hosted JVM core for a double-entry ledger, payments and compliance
More in Job queues
See all 7 →
jobdGPU-aware job broker for a few personal machines, with an MCP server
arbiterPostgreSQL job queue for Haskell, with no broker and no leader
QueueScopeNative macOS dashboard for BullMQ queues on Redis- TsumugiJob system for Cloudflare Workers on Durable Objects and Queues
- RoundhouseOps UI for Sidekiq and Solid Queue, mounted as a Rails engine
ForqMessage queue on SQLite in a single binary
More in Go
See all 99 →
SupermetryCookie-free web and product analytics on one Go binary and PostgreSQL- StreambedPostgres-to-Iceberg CDC engine with a built-in Postgres wire query server
OmagenImage-to-theme studio for Omarchy with reversible previews and recovery
XDPerfXDP traffic generator with WASM packet plugins- pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
PandaWardLocal application security assessment that reports what it couldn't decide