Ferry
A job queue that survives restarts
- Role
- Sole author, design to rollout
- Stack
- Go, PostgreSQL, Prometheus
- Year
- 2025
Problem
Overnight import jobs vanished whenever a worker restarted mid-run. The team heard about it from customers, not from alerts.
What I built
A queue that writes each job to an append-only log before acknowledging it, hands work out on short heartbeat leases, and replays anything unfinished at boot. Retries back off with jitter, and a dead-letter lane can be inspected and re-driven by hand.
Outcome
Deploys stopped being scheduled around the queue. Restarts became routine, and a lost job turned into something the team had to be reminded was ever possible.