[rabbitmq-discuss] How can I increase msg/second on writing to queue?

Mikhail Shirokov mikhail.smal at gmail.com
Mon Oct 28 21:32:23 GMT 2013


I am using c++ with client *https://github.com/alanxz/SimpleAmqpClient*. I
have used functions as in the example *
https://github.com/alanxz/SimpleAmqpClient/blob/master/examples/SimplePublisher.cpp
* to publish.

I just realize that I am also using a serialization library and I need to
disable it in my client to get more clean results.


On 29 October 2013 01:13, Jerry Kuch <jkuch at gopivotal.com> wrote:

> More details?  How is the queue declared?  What options are you using when
> you publish?  What clients/languages are you using?
>
> 2 messages per second is ridiculously low, under pretty much any
> non-pathological conditions, so it would be useful to learn more about just
> what you're doing and what environment you're doing it in to explain and
> improve your results.
>
>
>
> On Mon, Oct 28, 2013 at 2:01 PM, Mikhail Shirokov <mikhail.smal at gmail.com>wrote:
>
>> I am new in rabbitMQ and using SimpleAmqpClient to work with it. I have
>> one connection on write and one on read, each in own thread. Also I am
>> using acking to support a sort of transactions. But it works too slow for
>> me. I've only 2 msg/s on pushing and I don't know how increase it. I think,
>> I can add new threads and channels, but is there other way?
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131029/56f38c9e/attachment.htm>


More information about the rabbitmq-discuss mailing list