On this page

Documentation

Getting started

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

Core

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

Workflows

  • ChainsRun tasks in sequence and relay results from one link to the next.
  • GroupsFan out tasks in parallel and fan in with an on-complete callback.

Operating

  • ObservabilityInspect queues and tasks with metrics, the Inspector API and the chronos CLI.
  • Redis ClusterRun chronos-go on Redis Cluster with hash-tagged, slot-safe keys.
  • Performance & benchmarksBenchmark methodology and results versus asynq, and how to reproduce them.

Reference