[zeromq-dev] Joining a cluster
Pieter Hintjens
ph at imatix.com
Fri Feb 15 18:19:09 CET 2013
Lee,
Read the Guide and then specifically chapter 8, which builds a
framework (Zyre) do to exactly this.
-Pieter
On Fri, Feb 15, 2013 at 8:10 AM, Lee Sylvester <lee.sylvester at gmail.com> wrote:
> Hey guys,
>
> So, I have a distributed application sitting on a cluster of servers. Each node within this cluster has a service that creates and handles websockets for end users. When users request a web socket, *one* of the servers (the least used, but nearest) creates the socket and returns it. Great!. These websocket services also manage rooms for users. Now, the problem I have is, I need to connect each servers websocket service so that, when a user on one server submits a message to his "room", the other members of the same room, but on other servers, also get this message.
>
> I want to use ZMQ for this. I'm guessing I need some form of mesh or P2P setup using interconnecting these services. Could someone here tell me if I'm right or perhaps suggest a better solution? Are their any examples that describe what I'm trying to do?
>
> Thanks,
> Lee
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list