[erlang-questions] Distributed publish/subscribe system

Joe Armstrong <>
Tue Jan 25 09:56:32 CET 2011


Standard question:

How big? - how scalable - what latency - fault tolerance requirements do you
have.

Distributed can mean 2 nodes - or 10^9
There might be ten channels or 10^12

How fault tolerant? - 2 replicas, 100 replicas.

What the latency? - do you want the message to be delivered with 10 ms or
100 years

What's the security model - who owns the data - is there centralized
security or weak
per-node security policies.

The point is your requirements need to say things like this otherwise they
are not much use.

The architectures for these different cases will be *completely different*

/Joe

On Tue, Jan 25, 2011 at 12:54 AM, Kaiduan Xie <> wrote:

> Hi,
>
> 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?
>
> Best regards,
>
> /Kaiduan
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>
>


More information about the erlang-questions mailing list