While this is happening 'top' shows 99% CPU utilization with rabbit process at 199% CPU (99% x 2 cores?). All publishers' connections and channels are in flow control (yellow square). If I disable stats via rate_mode=none, I could get 2,000 more messages per second, but then I don't see what's going on in broker. Other than that, I didn't change any Rabbit or Erlang defaults.
Is that it, or can something be tweaked to get more throughput?
There is no message build up during the test, i.e. consumer is keeping up.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send an email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I forgot to mention that I was publishing to a fanout exchange with single queue bound to it.
When I ran 2 producers from 2 different machines, each publishing to its own fanout exchange with own queue, so 2 queues total, message rate got split -- roughly 20,000 messages per second per connection, i.e. total throughput did not change, and both connections were in flow control. When I made second producer publish concurrently on 2 channels, message rate got split further -- 20,000 msgs/sec for the first producer publishing on a single channel, and 10,000 msgs/sec for each of the two channels used by the second producer. So, again, the same 40,000 msgs/sec total throughput, and all three channels in flow control.
Does this sound normal? I just want to make sure I did not mess something up in my Java client.
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send an email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There was a post on this forum (https://groups.google.com/forum/m/#!starred/rabbitmq-users/tO8vaRp7bCA) that suggested that publishing over several channels was alleviating flow control. I don't understand how that could be because in my case I also publish over multiple channels, and in fact over multiple connections from multiple machines, unless the client in that post was getting bogged down and slowing down, so not improving throughput...