[rabbitmq-discuss] Implementing User Messaging Using RabbitMQ

Matthias Radestock matthias at rabbitmq.com
Fri Jan 25 05:54:54 GMT 2013


On 25/01/13 02:48, Jerry Kuch wrote:
>> Issue 1: How to support groups?  The messaging service worker could
>> resolve the group to a list of users and post the message multiple
>> times (once for each user/routing key)-- but this would not scale very
>> well.
> [discussion of various options]

One option that wasn't mentioned is to use 
http://www.rabbitmq.com/sender-selected.html, i.e. send a single message 
with all group members as recipients.

That's the escape hatch if, for whatever reason, group membership cannot 
be represented directly in the routing topology.

Matthias.


More information about the rabbitmq-discuss mailing list