[rabbitmq-discuss] Fwd: rabbit MQ high-through put stock quotes
cremes.devlist at mac.com
Mon Jun 22 18:45:10 BST 2009
On Jun 22, 2009, at 11:27 AM, Tony Garnock-Jones wrote:
> Hi Chuck,
> Chuck Remes wrote:
>>> With that out of the way, I would suggest a fanout exchange per
>>> high-volume symbol. [...]
>>> Alternately, you could use a direct exchange for the low-volume
> RabbitMQ should be about as fast with direct as with fanout exchanges.
> To find a list of matching queues for a publish to a fanout
> exchange, it
> searches a mnesia table indexed by exchange name, and for direct
> exchanges, it searches a table indexed by the pair of (exchange name,
> routing key) -- in both cases it's effectively a simple "dictionary"
> lookup resulting in a list of queue names.
> The implementation of topic exchanges is quite different (and quite a
> bit slower!), but broadly speaking, direct and fanout exchanges should
> be en par with each other, performance-wise.
Good to know!
More information about the rabbitmq-discuss