On this page

Documentation

Getting started

  • Getting started — Install chronos-go and run your first task end to end — define, enqueue, handle.

Core

  • Tasks & handlers — Define type-safe Task[T] payloads and route them to handlers with Mux.
  • Enqueue options — Control timing, queue, retries, uniqueness and retention when you enqueue.
  • Queues & priority — Weight queues, enforce strict priority, and pause or resume consumption.
  • Retries & reliability — Backoff retries, dead-letter hooks, crash recovery and heartbeat renewal.
  • Scheduling — Run interval and cron jobs once across many instances via leader election.

Workflows

  • Chains — Run tasks in sequence and relay results from one link to the next.
  • Groups — Fan out tasks in parallel and fan in with an on-complete callback.

Operating

  • Observability — Inspect queues and tasks with metrics, the Inspector API and the chronos CLI.
  • Redis Cluster — Run chronos-go on Redis Cluster with hash-tagged, slot-safe keys.
  • Performance & benchmarks — Benchmark methodology and results versus asynq, and how to reproduce them.

Reference