You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just as a question before try to implement it and get some feedback from @gmr and users of the Rabbitpy community.
I'm implementing a set of experiments using different AMQP Python drivers such as Pika, Librrabbitmq and so on [1] using a kind of fair scheduling - consuming from many queues - and I would like to get some numbers with the Rabbitpy driver. But I saw that there is no support to consume several queues from one consumer, and now I able to to that only with a N:N correlation between threads/consumers and queues.
In fact the idea behind this trial is just move to a correlation like N:M where the number of threads/consumers as N are always below the number for queues.
To make that Rabbitpy would need a new class - let's say MultipleQueue - that would consume messages from different queues without a strict order, just processing them as they arrive, leaving all of the fairness to the Rabbitmq broker.
Just as a question before try to implement it and get some feedback from @gmr and users of the Rabbitpy community.
I'm implementing a set of experiments using different AMQP Python drivers such as Pika, Librrabbitmq and so on [1] using a kind of fair scheduling - consuming from many queues - and I would like to get some numbers with the Rabbitpy driver. But I saw that there is no support to consume several queues from one consumer, and now I able to to that only with a N:N correlation between threads/consumers and queues.
In fact the idea behind this trial is just move to a correlation like N:M where the number of threads/consumers as N are always below the number for queues.
To make that Rabbitpy would need a new class - let's say MultipleQueue - that would consume messages from different queues without a strict order, just processing them as they arrive, leaving all of the fairness to the Rabbitmq broker.
Is that interesting ?
Regards,
[1] https://github.com/pfreixes/python-amqp-pycones/tree/master/python_amqp/consume_many_queues
The text was updated successfully, but these errors were encountered: