Job Scheduler Platform

Durable one-off and cron jobs posted to webhooks, with retries and a DLQ

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:attempt and 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.

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