[rabbitmq-discuss] Federation Issues: Disconnects and Failures on Queue Bind - 2012-01-20
Simon MacMullen
simon at rabbitmq.com
Wed Jan 25 16:11:24 GMT 2012
On 24/01/12 18:37, DawgTool wrote:
> What I was hoping to see that Cluster(002) would be about half the cpu
> consumption as Cluster(001).
> Or something like the scenario of publishing to a cluster on host 1 with
> the queue on host 2.
> Host 1 would take on the message handling from the publisher and hand it
> off to host 2 which writes to the queue (spreads the load across the
> cluster, but adds a little overhead).
Remember that when you publish across federation there is more than one
publish involved! The federation plugin:
* Binds a queue to the upstream exchange
* Consumes messages from this queue
* Republishes them downstream
and then presumably something consumes them downstream too.
So there is more work going on. I'm surprised it's 4x though, but the
federation plugin has not received any performance testing yet.
I'm also surprised both nodes in both clusters were equally busy - or
does your test load balance across them?
> Please let me know if I have missed something, or if you can think of
> any tricks to reduce the cpu usage.
Have you turned on hipe_compile? That should help at least.
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list