[openamq-dev] Fwd: Ruby QPID libraries
Carl Bourne
cbourne at intellect.co.uk
Wed Apr 30 12:15:45 CEST 2008
Thanks Gordon,
>Are you seeing the throughput drop off for counts higher than 1000? Or is it just the low
>throughput in general?
Yes seems to progressively slow right down the higher the message count goes!
10000 in around 30 seconds - Is that just sending or send and receive? I.e. You push 10000 in and see all 10000 out within the 30 secs?
If so can you show me a code snippet of how you are sending/receiving?
Regards,
Carl
On 30/04/2008 10:08, "Gordon Sim" <gsim at redhat.com> wrote:
Carl Bourne wrote:
> Do you have to create a new content object that contains the message
> contents before you can publish it? The following works fairly well up
> to about 1000 messages but then seriously slows down when you start to
> go above that.
On my laptop sending (and receiving) 1000 msgs takes ~4secs, 5000 takes
~20secs and 10000 takes ~30secs which shows a steady (though admittedly
rather low) throughput as the count increases. Are you seeing the
throughput drop off for counts higher than 1000? Or is it just the low
throughput in general?
> Is it not possible to create the content (at least the
> text part of it) as the message is published?
>
> 10000.times {|i|
> content = Qpid::Content.new({}, "Test Message# #{i}")
> ch.basic_publish(:routing_key => "test-queue", :content => content )}
I'm not quite sure I follow you. However there are persons more
knowledgeable than I am about this client and ruby in general (and
indeed most things!) on the qpid list. Can I suggest you ask this
question there (and also perhaps pursue any perf issues as above) to
avoid hijacking the openamq list?
[qpid-users at incubator.apache.org/qpid-users-subscribe at incubator.apache.org]
_______________________________________________
openamq-dev mailing list
openamq-dev at lists.openamq.org
http://lists.openamq.org/mailman/listinfo/openamq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openamq.org/pipermail/openamq-dev/attachments/20080430/4ff39aa0/attachment.htm
More information about the openamq-dev
mailing list