Configure Sidekiq queues, retry behavior, and pro batches

domain: github.com/sidekiq/sidekiq · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Define queue priorities in the Sidekiq config or when starting the process: sidekiq -q critical,2 -q default,1 to weight critical at 2x
  2. Set the retry count per worker class with sidekiq_options retry: N; failed jobs are retried with exponential backoff up to the configured limit
  3. Jobs that exhaust all retries move to the dead set; inspect and retry them via the Sidekiq web UI or Sidekiq::DeadSet API
  4. With Sidekiq Pro, create batches: batch = Sidekiq::Batch.new; batch.jobs { MyWorker.perform_async(args) }; attach callbacks via batch.on(:success, ...)
  5. Use Sidekiq::Client.push_bulk to enqueue many jobs in fewer Redis round trips for high-throughput ingestion

Known gotchas

Related routes

Produce and consume messages with Cloudflare Queues including retry configuration
cloudflare-queues · 6 steps · unrated
Choose and configure RabbitMQ quorum queues over classic queues
rabbitmq.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans