Cloudflare Docs
Queues
Edit this page on GitHub
Set theme to dark (⇧+D)

Limits

FeatureLimit
Queues10,000 per account beta
Maximum message size128 KB 1
Maximum message retries100
Maximum batch size100 messages beta
Maximum batch wait time30 seconds
Maximum per-queue message throughput 2400 messages per second 3
Maximum message retention period 44 days (96 hours)
Maximum per-queue backlog size 525GB
Maximum concurrent consumer invocations20 beta
Maximum consumer invocation duration15 minutes 6

beta This limit is beta only and is expected to increase over time.

1 1 KB is measured as 1000 bytes. Messages can include up to ~100 bytes of internal metadata that counts towards total message limits.

2 The maximum message throughput per queue will continue to increase during the beta period.

3 Exceeding the maximum message throughput will cause the send() and sendBatch() methods to throw an exception with a Too Many Requests error until your producer falls below the limit.

4 Messages in a queue that reach the maximum message retention are deleted from the queue. Queues does not delete messages in the same queue that have not reached this limit.

5 Individual queues that reach this limit will receive a Storage Limit Exceeded error when calling send() or sendBatch() on the queue.

6 Refer to Workers limits.