sergiuz
sergiuz

Reputation: 5529

How many messages can a queue hold?

In Celery, what is the upper bound limit of the number of messages in a queue?

How many messages can wait in a queue in order to be prefetched/consume by a worker?

Upvotes: 0

Views: 608

Answers (1)

Artem Mezhenin
Artem Mezhenin

Reputation: 5757

Queue length depends from broker(and message length). For example, if you are using RabbitMQ as broker, you can expect millions of messages(I saw hundreds of thousands in practice). You can make simple load testing using RabbitMQ management plugin(monitor resources).

This thread can be helpful.

Upvotes: 3

Related Questions