[rabbitmq-discuss] another scalability nugget: echo exchange?
Jon Brisbin
jon at jbrisbin.com
Tue Apr 26 21:01:56 BST 2011
Would it make sense to create an "echo" exchange type that simply fired any messages received into other brokers?
You could create an echo exchange with args like:
destination=[
"amqp://guest:guest@broker1:5672",
"amqp://guest:guest@broker2:5672",
"amqp://guest:guest@broker3:5672",
"amqp://guest:guest@broker4:5672",
]
(or I could make it where you'd have to look that info up from a config file to keep the logins from being visible to admin clients).
Then when a message is delivered to this exchange, it simply echoes it on to all the brokers listed in the args.
I suppose you could make it configurable to select one rather than all, as well...
Thanks!
Jon Brisbin
http://jbrisbin.com
Twitter: @j_brisbin
More information about the rabbitmq-discuss
mailing list