Guides
Step-by-step walkthroughs for the jobs teams build most often. Each guide lists what it assumes and which versions it was tested against.
ferry dev, and replay what lands in the dead-letter queue. Jobs and retries
Sending work, deciding what counts as failure, and recovering from it.
- Retry failed jobs
Exponential backoff, jitter, and replaying the dead-letter queue.
- Make handlers idempotent
Use the Ferrybox-Job-Id header so a repeated attempt does no extra work.
- Payload size and large files
The 256 KB limit, and the pattern of passing an object-storage key instead.
- Set per-job timeouts
Defaults per queue, overrides per job, and the 15-minute ceiling.
Scheduling
Recurring jobs with cron expressions and named time zones.
- Cron schedules
Five-field cron syntax, with @daily and @hourly shortcuts.
- Time zones and daylight saving
Which runs are skipped or doubled when clocks change, and how to opt out.
- Pause a schedule during a deploy
ferry schedules pause, with an automatic resume time.
Handlers and webhooks
Receiving calls from Ferrybox safely and quickly.
- Verify webhook signatures
HMAC-SHA256 over the raw body, with a five-minute tolerance.
- Run handlers locally with ferry dev
A tunnel from the queue to localhost, with failure injection.
- Fan out one event to many handlers
Batch create with a shared correlation ID.
Operating in production
Monitoring, limits, and moving between versions.
- Export attempt logs
Stream attempts to S3-compatible storage as JSON Lines.
- Alert on queue depth
Metrics endpoint, Prometheus format, and sensible thresholds.
- Migrate from v1 to v2
Field renames, the attempts object, and a rollout checklist.
Edit this page Last updated