[rabbitmq-discuss] Fwd: load balancing for consummer

Ben Hood 0x6e6562 at gmail.com
Sat Aug 22 14:47:27 BST 2009


On Sat, Aug 22, 2009 at 12:43 PM, Benoit Chesneau<bchesneau at gmail.com> wrote:
>> On Sat, Aug 22, 2009 at 10:54 AM, Benoit Chesneau<bchesneau at gmail.com> wrote:
>>> I've a consummer using erlang-rabbitmq-client
>>> http://www.friendpaste.com/1vohm5UA0oZpcDyONuikHy.
>> Just took a peek at this, here are some minor observations:
>> - Realms and tickets have been toast for a while now. The server
>> treats them as NOOPs;
>> - You might want to check the rabbit_framing.hrl header file to find
>> out what default values are set in each record definition - this may
>> help make your code terser;
>> - You don't need to set consumer_tags when subscribing unless you
>> really want to - the server will generate them for you;
> I ignored that.
>> - Are you sure you need a topic exchange?
> Right I don't need this, thanks
>> - Furthermore, I assume that your code works, but I what I'm not
>> getting on first glance is how the subscription works when you use the
>> name of the module instead of a pid - maybe there's something else
>> going on here?
> Think I will have a closer look on it. Will do appropriate changes
> this afternoon.
>> Also, as some other users of the Erlang client have already noticed,
>> the API has undergone a lot of cleanup to get it to a releasable state
>> - you might want to keep this in mind as it is likely to land some
>> time soon.
> Would you suggest to use latest tips of rabbitmq-server &
> rabbitmq-client ? For now I'm using the released version of rabbitmq +
> the revision number given by matthew in a previous mail.
> Anyway thanks for all your explanations. I will let you know about the result.
> - benoît

More information about the rabbitmq-discuss mailing list