[erlang-questions] Erlang-based opensource publish-subscribe servers

Ivan Uemlianin ivan@REDACTED
Sun Oct 24 23:34:26 CEST 2010


  Dear Zvi

gproc looks useful.

And have you read Richard Jones' three-part tutorial, starting here:

     
http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-1/

Best

Ivan

On 24/10/2010 20:22, Zvi . wrote:
> no,
> I need something lightweight, but able to work in a large cluster (10s of
> nodes).
>
> The ideas I have:
> 1. Use ets to store mappings of Subscriber Pids to TopicIDs - this ets will
> obviously be a bottleneck.
> 2. Have a process per TopicID, which hold list of all it's Subscriber Pids
> in it's state. Now the bottleneck is mapping TopicID to it's Pid
> 3. Use Ulf's gproc (looks it uses gen_leader abd requires patching Erlang?)
>
> I currently working on 1.
>
> Zvi



More information about the erlang-questions mailing list