4 ms·
Routing with Rabbit is extremely flexible, in fact, you can hook up two exchanges together (with a Rabbit only extension). You can also give messages a TTL, so
by jeffasinger 13y ago
Routing with Rabbit is extremely flexible, in fact, you can hook up two exchanges together (with a Rabbit only extension). You can also give messages a TTL, so that they'll automatically delete if not fetched.
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.
- rickhanlonii 13y agoRabbit 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.