Skip to content
ENExplore Calculators

RabbitMQ Queue Calculator

Estimate RabbitMQ queue memory, disk use and consumer requirements.

About RabbitMQ Queue Calculator

Default queues hold messages in memory, so a growing backlog threatens the broker itself. Lazy queues move messages to disk immediately, which keeps memory flat at the cost of higher latency. A RabbitMQ broker hitting its memory watermark blocks publishers entirely, so backlog growth is an availability risk rather than just a latency one.

Formula

RabbitMQ Queue

Backlog = (publish rate − consume rate) × period; memory depends on the queue mode

lazy queue
Writes messages to disk immediately, trading latency for memory safety
quorum queue
Replicated across nodes for durability, at three times the storage

Worked example

With the default values below, RabbitMQ Queue Calculator returns Projected Backlog of 360,000. Change any input above and every figure here is recalculated in your browser.

Inputs used

Publish rateminimum 0
2,000
Consume rateminimum 0
1,800
Average message sizeminimum 0 bytes
1,500 bytes
Period to projectminimum 0 min
30 min
Queue modeone of Default, memory first, Lazy, disk first, Quorum, replicated
Default, memory first

Results

Projected Backlog
360,000
Queue Memory Use
0.5029 GB
Queue Disk Use
0.0754 GB
Additional Consumer Capacity Needed
11.11%
Verdict
Backlog is growing — add consumer capacity

Step by step

  1. 1Values used
  2. 2RabbitMQ Queue
  3. 3Projected Backlog= 360,000
  4. 4Queue Memory Use= 0.5029 GB
  5. 5Queue Disk Use= 0.0754 GB
  6. 6Additional Consumer Capacity Needed= 11.11
  7. 7Verdict= Backlog is growing — add consumer capacity

Assumptions and limits

  • The result is derived only from the 5 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax or fees or charges into account.
  • Figures are rounded for display to 4 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

How is RabbitMQ Queue calculated?

Backlog = (publish rate − consume rate) × period; memory depends on the queue mode Default queues hold messages in memory, so a growing backlog threatens the broker itself. Lazy queues move messages to disk immediately, which keeps memory flat at the cost of higher latency.

Why does RabbitMQ Queue matter?

A RabbitMQ broker hitting its memory watermark blocks publishers entirely, so backlog growth is an availability risk rather than just a latency one.

What values do I need to enter?

This calculator takes 5 inputs: Publish rate, Consume rate, Average message size, Period to project, Queue mode. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

RabbitMQ Queue Calculator – Calculate Projected Backlog