[rabbitmq-discuss] how to get higher throughput?
alexis at rabbitmq.com
Thu Mar 29 09:47:55 BST 2012
HA replicates data to queue mirrors, which increases the amount of
networking and data processing per message. This can impact
You may find you can get higher throughput by using more clients, or a
On Thu, Mar 29, 2012 at 9:35 AM, stone <zmstone at gmail.com> wrote:
> Hi again.
> The traffic rate hit almost 9000/s if the "RPC" queue is non-HA.
> Could someone explain a little bit why HA impact the throughput that much?
> On Wed, Mar 28, 2012 at 9:23 PM, stone <zmstone at gmail.com> wrote:
>> I have a use case which is very similar to RPC:
>> The clients subscribe to their own queues bound to routing key
>> and they publish messages with routing key "request.myname", then wait for
>> On the other side of the broker, there is this RPC queue, bound to routing
>> key "request.#",
>> many workers consume from this queue, process the messages then send back
>> The request size is around 10K bytes, response is just few bytes, and all
>> "RPC"s are synchronized calls.
>> i.e. client wait for response before send another request.
>> After some benchmark tests, we found that the message rate of the RPC
>> queue hits around 1400.
>> It doesn't help by increasing the number of publishers or consumers, or
>> Hope it's enough background info to finally ask my question:
>> what could possibly be the bottleneck in my tests, and how to get higher
>> throughput ?
>> Rabbit version: 2.7.1
>> Memory high watermark: 25G
>> CPU (24 processors) model: Intel(R) Xeon(R) CPU X5690 @ 3.47GH
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss