Re:My RabbitMQ setup for notifications
by rickhanlonii on Friday July 26, 2013 @06:15PM
(#6110916)
Rabbit really is awesome. Even on top of that you can setup reply-to queues so that a publisher can wait for a response from the consumer. This is nice if you have, say, an image processing server and want to give it an image to process and block until you get a response that it's done.
So you can have one exchange for each user, and any device the user owns attaches a queue to that. Then, any exchange that a user is interested in only needs to subscribe to that one exchange.