[erlang-questions] Best implementation for a clustered connected client list ?

Morgan Segalis msegalis@REDACTED
Thu May 30 23:57:44 CEST 2013


Hi,

I have tried, I cannot seems to find how they do it.


Le 30 mai 2013 à 23:47, Antoine Koener <antoine.koener@REDACTED> a écrit :

> Have you looked at ejabberd ?
> 
> 
> 
> On Thu, May 30, 2013 at 5:38 PM, Morgan Segalis <msegalis@REDACTED> wrote:
> Hi everyone,
> 
> I'm currently looking for better ways to do a clustered connected client list.
> 
> On every server I have an ets table, in which I insert / delete / search the process of each client connecting to the server.
> 
> Each row in the ets table is for now a simple {"id", <pid.of.process>}
> 
> I have tried the gproc module from Ulf Wiger, but when a cluster goes down, everything goes wrong… (especially if it is the elected leader).
> 
> If a cluster goes down, other clusters should consider that every client connected on the said cluster are actually not connected (even if is just a simple connection error between clusters).
> If it goes back online, back on the nodes() list, other clusters should consider clients on this cluster back online.
> 
> What would be in your opinion the best way to do that ?
> 
> It is a messaging system, so it has to handle massive message passing through processes.
> 
> Thank you for your help.
> 
> Morgan.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130530/5c44ceba/attachment.htm>


More information about the erlang-questions mailing list