Richard Bucker

Brokered Message Queue Math

Posted at — Jul 30, 2014

It should be obvious that a MQ implemented with a broker is going to experience at least a 50% reduction in TPS throughput because a single broker doubles the number of transactions.  1x from the client to the broker and 1x from the broker to the worker. 50% is the optimum so long as the overhead of the [virtual] network or broker persistence etc…

There is some nuance here and there where the two topologies perform more of the same work but in the end the broker handles the transaction callstack a little better and at some point becomes a BUS that can implement some slightly more complex message routing… see flow based programming.