[erlang-questions] Best implementation for a clustered connected client list ?
Fri May 31 12:20:29 CEST 2013
On May 31, 2013, at 12:16 PM, Morgan Segalis wrote:
> Hi Sergej,
> Thank you for open source your work !!
> In your read me, when you said : "When you need to call a worker on another node, distreg will determine which node it should be running on and call it on that node."
> How does it will determine in which node the process is, exactly ?
Every worker has a name. Workers are spread throughout the cluster using consistent hashing. So it hashes the worker name, which results in the right node that the worker should be running on. It can happen that the worker is not actually running on that node (because nodes can go online/offline), but in that case the node will know the PID of the worker at least.
> Le 31 mai 2013 à 12:04, Sergej Jurecko <sergej.jurecko@REDACTED> a écrit :
>> I've been meaning to open source this library. Now is a good of a time as any I guess. Maybe it fits your use case.
>> Sergej Jurecko
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions