[rabbitmq-discuss] question : how to speed up the worker ?
Tim Watson
tim at rabbitmq.com
Wed May 16 11:15:01 BST 2012
On 16/05/12 10:40, bino oetomo wrote:
> Dear All
> C/Q Tim and Alvaro
>
> On 05/16/2012 03:59 PM, Tim Watson wrote:
>> On 16/05/12 09:57, Alvaro Videla wrote:
>>> Hi,
>>>
>>> On Wed, May 16, 2012 at 10:55 AM, tim <tim at rabbitmq.com
>>> <mailto:tim at rabbitmq.com>> wrote:
>>>
>>> It kind of depends. If one consumer rejects a message then others
>>> can pick it up. If you've set up a fanout exchange, then obviously
>>> this will happen all the time. You can also run into this scenario
>>> when running federation.
>>>
>>>
>>> I think for his use case fanout doesn't matter since we are talking
>>> about many workers to the same queue, not many queues to one exchange.
>>
>> Yes you're absolutely right - I was thinking more generally than his
>> specific example. As you mentioned, the reject scenario is the main
>> one to think about here.
>>
> Is there any potential conflict/problem when I use multi-worker that
> can do 'reject' ?
>
Not really. Once a message has been delivered to a worker, it won't be
seen by any other worker unless it is rejected and re-queued or the
worker dies without sending an ACK. HTH.
Tim
More information about the rabbitmq-discuss
mailing list