[rabbitmq-discuss] another scalability nugget: echo exchange?

Alexis Richardson alexis at rabbitmq.com
Tue Apr 26 21:17:08 BST 2011


http://www.rabbitmq.com/blog/2010/10/19/exchange-to-exchange-bindings/


On Tue, Apr 26, 2011 at 9:01 PM, Jon Brisbin <jon at jbrisbin.com> wrote:
> 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
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


More information about the rabbitmq-discuss mailing list