[erlang-questions] Distributed publish/subscribe system
Thomas Lindgren
thomasl_erlang@REDACTED
Tue Jan 25 12:11:51 CET 2011
----- Original Message ----
> From: Kaiduan Xie <kaiduanx@REDACTED>
...
> Any one has experience to build distributed publish/subscribe system?
> The system has the following requirements,
>
> 1. Subscriber subscribes to the interested topic
> 2. Publisher publishes event related to the topic
> 3. System delivers the event to all the users subscribed to this
> topic. If subscriber is connected, the event is delivered immediately.
> If the subscriber is not connected, system should persist the
> event. When the user next time becomes online, system delivers the
> event to the user.
>
> Can you share the experience?
I haven't tried it myself, but RabbitMQ sounds like it might be suitable:
http://www.rabbitmq.com/tutorial-three-python.html
I think you can have persistent queues too.
Best regards,
Thomas
More information about the erlang-questions
mailing list