[rabbitmq-discuss] Exchanges and queues for a social design system

Michael Klishin michael at rabbitmq.com
Wed Sep 25 11:43:35 BST 2013


On sep 24, 2013, at 2:10 p.m., tyger2007 at yahoo.com wrote:

> John gets the message by waiting on a queue based on any message written to his exchange.is this the right approach to designing a social system with rabbitmq ?, thanks.

It does not sound unreasonable.

You can use RabbitMQ and something
like SockJS to propagate events to the clients. Or you can use it to distribute messages between
services that update the database.
The former largely depends on how your clients and UI work. The latter is whether you have
reasons to avoid updating the database directly (e.g. not all updates have to happen
immediately but lower client latency is desired).

MK



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130925/038700fd/attachment.pgp>


More information about the rabbitmq-discuss mailing list