Backend Frameworksintermediate

Celery vs RQ

Celery vs RQ compared for 2026: Celery 5.7.0 (distributed task queue with RabbitMQ, Redis and SQS brokers, canvas workflows, Beat scheduler, BSD-3-Clause) vs RQ 3.0 (Redis-only job queue with fork-per-job workers, retries, dependencies and rate limits, BSD-2-Clause). Includes throughput, memory, retry and kill -9 crash-recovery results from runs we did on the same machine against Redis 7.0, plus a clear pick for each situation.

Quick Answer

Celery and RQ both run Python functions in background workers, but they make opposite trade-offs. RQ 3.0 is small: six packages, Redis only, one function call to enqueue, and a worker that forks a fresh child process for every job, which isolates jobs well but caps throughput. Celery 5.7.0 is a full distributed task system: several brokers, prefork worker pools that reuse processes, chains, groups and chords, a periodic scheduler and remote control, at the cost of 17 packages and many settings. In our run on two vCPUs with Redis 7.0.15, Celery drained 5,000 small tasks in 5.2-5.4 s, while two default RQ workers took 36-39 s (RQ's fork-free SimpleWorker took 9.3-9.6 s). Crash behaviour matters more than speed: with default settings a kill -9 of the process running a task made Celery mark it FAILURE and never run it again, exactly like RQ; Celery needs acks_late plus reject_on_worker_lost, and RQ needs a Retry, to re-run it. Pick RQ for modest job volumes on Redis where simplicity wins; pick Celery for high task volume, multi-step workflows, non-Redis brokers or fine control over delivery.

Last updated November 24, 2026. Covers Celery 5.7.0 (5 November 2026) and RQ 3.0 (28 October 2026) on Python 3.13 with Redis 7.0.15; docs, changelogs, release data and package metadata read on 24 November 2026, plus same-machine throughput, memory, retry and crash-recovery runs we did that day.

Feature comparison of Celery vs RQ
FeatureCeleryRQ
Licence & Repository
BSD-3-Clause; celery/celery, ~29.3k stars, active (pushed 24 Nov 2026)
BSD-2-Clause; rq/rq, ~10.7k stars, active (pushed 23 Nov 2026)
Latest Release (Nov 2026)
5.7.0 on 5 Nov 2026 (5.6.3 on 26 Mar 2026)
3.0 on 28 Oct 2026 (2.12 on 30 Aug 2026); breaking changes in 3.0
Supported Python
3.10+ (5.7 raised the minimum; Python 3.14 compatibility work)
3.10+; 3.0 officially supports Python 3.15
Install Footprint
17 packages, 24.5 MB with celery[redis] (kombu, billiard, vine, amqp, click plugins, redis)
6 packages, 12.3 MB (redis >= 5.0.1, click, croniter)
Brokers / Backends
RabbitMQ, Redis (stable), Amazon SQS (stable, no events or remote control), Kafka, GC Pub/Sub, Zookeeper (experimental); result backends incl. Redis, SQL, memcached
Redis only (Redis Cluster via RQ_KEY_PREFIX since 3.0); results stored in Redis
Windows Support
Not supported since 4.x (FAQ)
Workers need fork(): WSL, or SimpleWorker; SpawnWorker needs POSIX
Worker Execution Model
Long-lived pool (prefork by default, concurrency = CPU cores) with prefetch multiplier 4
Fetch-fork-execute: a new work horse process per job; SimpleWorker and SpawnWorker as alternatives
Default Delivery When a Worker Dies
Early ack: task is acknowledged before it runs, so a killed process means a FAILURE and no re-run
Killed work horse: job marked FAILED; killed worker: job stays STARTED until maintenance marks it abandoned
Retries
self.retry() with max_retries and default_retry_delay, autoretry_for, backoff options
Retry(max, interval) per job; intervals need --with-scheduler
Delayed & Periodic Jobs
countdown/eta per task; Celery Beat for periodic and crontab schedules
enqueue_in / enqueue_at with --with-scheduler; CronScheduler (beta, local timezone in 3.0)
Workflows (Chains, Dependencies)
Chains, groups, chords, nested canvas
depends_on (single or list), unique jobs, callbacks
Rate Limiting
Per-task rate_limit (per worker), task_default_rate_limit
RateLimit(key, concurrency) since 3.0
Default Job Time Limit
No time limit by default; soft and hard limits configurable
180 s default job timeout (per queue or job)
Result Storage Defaults
Off unless a backend is set; result_expires 1 day
result_ttl 500 s, failure_ttl 1 year
Monitoring & Remote Control
celery inspect / control, events for Flower and celery events (RabbitMQ, Redis)
rq info CLI monitor, separate rq-dashboard web UI, job registries; maintenance every 600 s by default
Our Run: enqueue 5,000 jobs
1.63-1.90 s (3 runs)
1.32-1.62 s (3 runs)
Our Run: drain 5,000 jobs with 2 processes
5.2-5.4 s with prefork -c 2, including worker start-up
36.4-39.1 s with 2 workers; 9.3-9.6 s with 2 SimpleWorkers; 31.0-31.9 s with worker-pool -n 2
Our Run: idle worker memory (RSS)
148 MB across 3 processes (main + 2 pool children)
37 MB for one idle worker process
Our Run: kill -9 the process running a job
Default: FAILURE (WorkerLostError), not re-run. acks_late + reject_on_worker_lost: re-run, SUCCESS
Default: FAILED ('Work-horse terminated unexpectedly'), not re-run. With Retry(max=1): re-run, FINISHED
Our Run: kill -9 the whole worker, then restart
Task stayed in the Redis unacked hash; redelivered only after visibility timeout + sweep (within 45 s with a 15 s timeout and a 5 s sweep)
Job stayed STARTED; with job_timeout 20 s, Retry(max=1) and --maintenance-interval 10 it was re-run 60-90 s after the kill

Celery

Celery is a distributed task queue for Python. Producers send task messages to a broker (RabbitMQ, Redis, Amazon SQS and several experimental transports), and worker processes consume them, optionally storing results in a backend such as Redis, a SQL database or memcached. On top of single tasks it offers canvas primitives (chains, groups, chords), Celery Beat for periodic tasks, rate limits, time limits, and remote inspection and control of running workers. Celery 5.7.0 was released on 5 November 2026, requires Python 3.10 or newer, is BSD-3-Clause licensed and has about 29.3k GitHub stars.

Pros

  • High throughput from reused prefork processes: 5,000 small tasks drained in 5.2-5.4 s with two processes in our run, about seven times faster than RQ's default worker
  • Broker choice: RabbitMQ and Redis are stable with monitoring and remote control, Amazon SQS is stable, and Kafka, Google Cloud Pub/Sub and Zookeeper are experimental
  • Canvas workflows (chains, groups, chords) for fan-out and fan-in pipelines, with 5.7.0 focused on making nested chords and failure propagation more reliable
  • Fine control over delivery: acks_late plus reject_on_worker_lost re-ran our killed task automatically, and prefetch, visibility timeout and time limits are all configurable
  • Celery Beat periodic scheduler, per-task rate limits and soft and hard time limits are built in
  • celery inspect and celery control commands, plus event-based monitors such as Flower on brokers that support events

Cons

  • Heavier: 17 packages and 24.5 MB installed with the Redis extra, and an idle worker with two pool processes used 148 MB RSS in our run
  • Safe defaults are not the default: acks_late and reject_on_worker_lost are both off, so a crashed process loses the task
  • With Redis, an unacknowledged task from a dead worker waits for the visibility timeout (1 hour by default) plus a periodic sweep before redelivery
  • Windows has not been supported since Celery 4.x, per the project's FAQ
  • Large settings surface; long ETAs or countdowns beyond the Redis visibility timeout can cause repeated redelivery, a documented caveat

Best For

Teams running thousands of tasks a minute, multi-step pipelines (fan-out, chords), periodic schedules, RabbitMQ or SQS brokers, or anything that needs tuned delivery guarantees and live worker control.

RQ

RQ (Redis Queue) is a Python library for queueing jobs and processing them in the background with workers, backed only by Redis. You enqueue any importable function with queue.enqueue(func, *args); a worker pops the job, forks a child process (the work horse) to run it, and stores the result in Redis for a configurable time. RQ supports retries, job dependencies, unique jobs, scheduled jobs, a beta cron scheduler, worker pools and, since 3.0, concurrency rate limits. RQ 3.0 was released on 28 October 2026, requires Python 3.10 or newer, is BSD-2-Clause licensed and has about 10.7k GitHub stars.

Pros

  • Minimal API and setup: any importable function can be enqueued, with no task decorator, app object or broker configuration beyond a Redis connection
  • Small footprint: 6 packages and 12.3 MB installed, and an idle worker used 37 MB RSS in our run
  • Fork-per-job isolation: each job runs in a fresh child, so memory leaks and module state do not accumulate in the worker
  • Sensible built-in defaults: a 180-second job timeout, results kept 500 seconds and failed jobs kept for a year
  • RQ 3.0 adds concurrency rate limits (RateLimit), Redis Cluster support via RQ_KEY_PREFIX and tracking of multiple executions per worker
  • Job dependencies (depends_on), unique jobs and success, failure and stopped callbacks without extra packages

Cons

  • Throughput is capped by forking: two default workers needed 36-39 s for 5,000 small jobs in our run, against 5.2-5.4 s for Celery
  • Redis only: no RabbitMQ, SQS or other brokers
  • Retries with an interval and enqueue_in / enqueue_at jobs only run if a worker is started with --with-scheduler; without it our retried job sat in SCHEDULED
  • Workers need fork(); Windows requires WSL or the less isolated SimpleWorker
  • No canvas-style chords or groups beyond dependencies, and the cron scheduler is marked beta in its docs

Best For

Web apps already running Redis that need emails, reports, webhooks or imports done in the background at modest volume (hundreds of jobs a minute), with the least code and configuration.

Two designs: a framework versus a library

The size difference is visible at install time. pip install rq==3.0.0 pulled 6 packages (12.3 MB) in our sandbox: rq, redis, click, croniter, python-dateutil and tzdata. pip install 'celery[redis]==5.7.0' pulled 17 packages (24.5 MB), including kombu (the messaging layer), billiard (Celery's fork of multiprocessing), amqp and vine. That reflects scope. RQ is a library around one idea: a job is a pickled function call stored in Redis, a worker pops it and forks a child to run it. You enqueue any importable function: q.enqueue(send_email, user_id). Celery is a framework: you create an app with a broker URL, decorate functions as tasks, and get a message protocol that works across RabbitMQ, Redis, SQS and experimental transports, plus result backends, canvas workflows, Beat and remote control. Celery's own broker table lists RabbitMQ and Redis as stable with monitoring and remote control, SQS as stable without either, and Kafka, Google Cloud Pub/Sub and Zookeeper as experimental transports without dedicated maintainers. Both projects are active: Celery 5.7.0 (5 November 2026) is a large reliability release for canvas, worker shutdown and scheduling, and RQ 3.0 (28 October 2026) is a major version with breaking changes, such as CronScheduler now using the local timezone and SpawnWorker requiring POSIX. Both now require Python 3.10 or newer.

What we measured: throughput and memory

We ran both on the same 2-vCPU Linux sandbox with Python 3.13.18 and a local Redis 7.0.15, each in its own virtualenv. The job was deliberately tiny, an INCR on a Redis counter, so the numbers show queue overhead rather than work. Enqueuing 5,000 jobs from one process took 1.63-1.90 s with Celery's delay() and 1.32-1.62 s with RQ's enqueue() over three runs, so producing jobs costs about the same. Draining them is where the designs diverge. We pre-filled the queue, started workers with two processes, and timed until the counter reached 5,000, including worker start-up. Celery's prefork pool (-c 2) finished in 5.2-5.4 s in two runs, roughly 950 jobs a second. Two default RQ workers took 36.4-39.1 s, about 130 a second, because each job forks a new work horse. rq worker-pool -n 2 took 31.0-31.9 s. Two SimpleWorkers, which run jobs in the worker process without forking, took 9.3-9.6 s. Memory followed the same pattern: an idle Celery worker with two pool processes used 148 MB RSS across three processes, an idle RQ worker 37 MB. For jobs that take seconds (rendering a PDF, calling an API), RQ's per-job fork overhead disappears into the job time; for thousands of millisecond jobs it dominates. These are single runs on a small machine, not a benchmark.

Crash recovery: what happens when a worker is killed

Neither tool re-runs a crashed job by default, which surprised us more than the speed gap. Celery acknowledges a task before running it unless task_acks_late is enabled. We sent an 8-second task and ran kill -9 on the pool child executing it: the worker logged WorkerLostError, the result backend recorded FAILURE, and the task never ran again. With acks_late=True and reject_on_worker_lost=True on the task, the same kill made Celery requeue it; a new child ran it to completion and the result was SUCCESS. RQ behaved like default Celery: killing the work horse marked the job FAILED with 'Work-horse terminated unexpectedly; waitpid returned 9'. Enqueued with retry=Retry(max=1), it ran a second time and finished. Killing the whole worker is harder for both. Celery with Redis keeps an unacknowledged message in an unacked hash until the visibility timeout (1 hour by default) passes and a periodic sweep restores it; kombu 5.7.0's defaults sweep about every 100 s (interval 10 s, throttle 10). With a 15 s timeout the message was still not redelivered 75 s after restart; with the sweep set to 5 s and throttle 1 it ran again within 45 s. RQ left the job STARTED in its registry; with job_timeout=20, Retry(max=1) and --maintenance-interval 10 it was re-run 60-90 s after the kill. Whichever you pick, make tasks idempotent.

Retries, scheduling and workflows

Retries work in both, but RQ adds a dependency people miss. In Celery, a bound task calls self.retry(exc=..., countdown=...) with max_retries; our task with max_retries=3 and default_retry_delay=1 ran four times about one second apart, then ended in FAILURE with the original ValueError. In RQ you attach retry=Retry(max=3, interval=1) when enqueuing; the docs say intervals need workers started with --with-scheduler. We checked: without the scheduler, the job sat in SCHEDULED after its first failure and never ran again. With --with-scheduler it ran four times, one second apart, then moved to the FailedJobRegistry. The same scheduler handles enqueue_in and enqueue_at. Only one scheduler is active per queue, and idle ones check every 15 minutes whether to take over. For recurring jobs, Celery Beat is a mature separate process with crontab and solar schedules; RQ's CronScheduler (since 2.4.0) is marked beta in its docs and, from 3.0, evaluates cron strings in local time, like system cron. Workflows are the clearest gap. Celery's canvas composes chains, groups and chords (run N tasks in parallel, then a callback with all results). RQ offers depends_on with one job or a list, which covers 'run B after A' and simple fan-in, plus unique jobs and callbacks, but no chord primitive.

Operations, limits and when not to use each

RQ defaults protect you from runaway jobs: each job must finish within 180 seconds unless you set job_timeout or a queue default_timeout, successful results expire after 500 seconds and failed jobs after a year. Celery has no task time limit by default (task_time_limit and soft limits are opt-in), stores no results unless you configure a backend, and expires stored results after one day. Celery's worker_prefetch_multiplier defaults to 4, so each process reserves four messages; for long tasks, lower it to 1 so one busy worker does not sit on jobs others could run. Platform support differs: Celery's FAQ says Windows has not been supported since 4.x, and RQ workers need fork(), with SimpleWorker for Windows and SpawnWorker for macOS, where forking can be unsafe. For monitoring, Celery has celery inspect and celery control and an event stream for tools such as Flower on RabbitMQ and Redis, but not on SQS; RQ has the rq info command, its job registries and the separately installed rq-dashboard web UI. Do not choose RQ if you cannot run Redis, need RabbitMQ or SQS, or expect tens of thousands of short jobs a minute. Do not choose Celery for a handful of background emails in a small app, where its settings and defaults are a liability. For streaming events rather than jobs, a log such as Kafka or NATS fits better than either.

Verdict

Choose RQ when you already run Redis, your volume is in the hundreds of jobs a minute, and you want background jobs with the least code: enqueue a function, run rq worker --with-scheduler, set a Retry on jobs that must not be lost, and you are done. Its fork-per-job model keeps jobs isolated and its defaults (180 s timeout, results kept 500 s, failures kept a year) are reasonable. Choose Celery when throughput matters (it drained 5,000 tasks about seven times faster than RQ's default worker in our run), when you need chains, groups or chords, a broker other than Redis, periodic schedules managed in one place, or live control of workers. If you pick Celery, turn on acks_late and reject_on_worker_lost for tasks that must survive crashes, make those tasks idempotent, and review the Redis visibility timeout. If RQ's throughput becomes the bottleneck for short jobs, try SimpleWorker for trusted code before migrating; it was four times faster than the forking worker in our run. Do not pick either on the assumption that tasks survive a crash by default: neither re-ran a killed job without extra settings.

All Comparisons

Celery vs RQ — FAQ

Common questions answered from the comparison above

Is Celery faster than RQ?

For many short jobs, yes. In our run on two vCPUs with Redis 7.0.15, Celery's prefork pool drained 5,000 tiny tasks in 5.2-5.4 s, while two default RQ workers took 36-39 s because RQ forks a new process per job. RQ's SimpleWorker, which does not fork, took 9.3-9.6 s. For jobs that take seconds each, the difference matters much less.

Does RQ work without Redis?

No. RQ stores queues, jobs and results in Redis only. Since RQ 3.0 you can set RQ_KEY_PREFIX through an environment variable to run it on Redis Cluster. If you need RabbitMQ or Amazon SQS, use Celery.

Do Celery or RQ re-run a task if the worker crashes?

Not by default. In our tests a kill -9 of the process running a task made Celery record FAILURE and RQ record FAILED, with no re-run. Celery re-ran it with acks_late=True and reject_on_worker_lost=True; RQ re-ran it when the job was enqueued with a Retry. Make such tasks idempotent, because a re-run can repeat side effects.

Why are my RQ retries or enqueue_in jobs not running?

Retries with an interval and jobs scheduled with enqueue_in or enqueue_at are moved back to the queue by RQ's scheduler, which only runs in workers started with rq worker --with-scheduler (or work(with_scheduler=True)). Without it, our retried job stayed in the SCHEDULED state indefinitely.

Can I run Celery or RQ workers on Windows?

Celery's FAQ says Windows has not been supported since Celery 4.x. RQ's default worker needs fork(), so on Windows you need WSL or RQ's SimpleWorker, which runs jobs in-process without isolation or heartbeats during execution.

Should I migrate from Celery to RQ for simplicity?

Only if you use Redis as the broker, do not rely on chords, groups or Beat-heavy schedules, and your job volume is modest. RQ removes configuration and dependencies, but you lose broker choice, canvas workflows and throughput; check that every Celery retry and time limit has an RQ equivalent (Retry, job_timeout) before switching.

Get the next comparison by email

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.