[zeromq-dev] Joining a cluster
Lee Sylvester
lee.sylvester at gmail.com
Fri Feb 15 19:05:49 CET 2013
Hi Pieter,
I've just realised the O'Reilly book is an exact copy of the ZGuide. I guess I just paid £15 for something I already had for free :-(
Thanks for the pointers, though. I'll read through until I have a better understanding.
Regards,
Lee
On 15 Feb 2013, at 18:00, Pieter Hintjens <ph at imatix.com> wrote:
> Lee,
>
> As Eric says, Chapter 8. But you will get the best results by working
> through the other chapters first... You can also just download Zyre
> and use it, without studying the internals. It's on GitHub and comes
> in C and Java flavours.
>
> -Pieter
>
> On Fri, Feb 15, 2013 at 6:35 PM, Lee Sylvester <lee.sylvester at gmail.com> wrote:
>> Thank you Pieter. I've just purchased an early adopter version of your O'Reilly book, so hope to gain something from that. Is there a specific chapter in that book that describes what I need?
>>
>> Thanks,
>> Lee
>>
>> Sent from my iPhone
>>
>> On 15 Feb 2013, at 17:19, Pieter Hintjens <ph at imatix.com> wrote:
>>
>>> 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
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> zeromq-dev at lists.zeromq.org
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> _______________________________________________
> 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