[rabbitmq-discuss] Performance questions

Ashley van Gerven ashley.ohq at gmail.com
Thu Apr 30 05:12:22 BST 2009


Matthias



It's a 100Mbps network.



The messages are retrieved like this:

-----

BasicGetResult result = ch.BasicGet("tempQ", false);

ch.BasicAck(result.DeliveryTag, false);

-----



I'll try out your suggested alternate method of basic.consume.



Thanks for the info



Cheers

Ashley



On Thu, Apr 30, 2009 at 7:21 AM, Matthias Radestock <matthias at lshift.net>wrote:

> Ashley,
>
> Ashley van Gerven wrote:
>
>> I'm fairly new to rabbitMQ - one of the tests I did was to read 1000
>> messages from rabbitMQ server running locally vs. reading 1000 messages from
>> another server (using .NET client).
>>
>> Performance was approx 1000 per second connecting from the same server, vs
>> approx 200 p/s connecting from another server (single-node broker).
>>
>> What would the bottleneck be here that's limiting the reads to 200 p/s? My
>> guess would be the network hardware.
>>
>
> What network bandwidth do you have?
>
> And how exactly are you reading messages?
>
>  Are there any tricks with setting up or connecting to minimise read times?
>>
>
> Are you using basic.get? If so then the throughput will be determined by
> the network latency, since basic.get incurs a full network round-trip per
> message. To avoid that use basic.consume to set up asynchronous "push"
> delivery that streams messages to the client.
>
>  And what sort of performance benefits can there usually be realized for
>> every node added to a cluster?
>>
>
> That very much depends on your routing topology. At one extreme, if you
> have a single producer sending messages to a single consumer then adding
> nodes will not help at all. At the other extreme, if you have many disjoint
> streams then near-linear scalability is achievable.
>
>
> Regards,
>
> Matthias.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090430/2b40bd72/attachment.htm 


More information about the rabbitmq-discuss mailing list