[zeromq-dev] Req/Rep pattern with HA requester
John Smith
no.spam.mole at googlemail.com
Sat Jun 5 12:55:16 CEST 2010
Are you saying that you have two web servers C1 and C2. C1 should send a
message to S1, S2 or S3 depending on the type of message or message content.
The server S* should then send back a reply which could go to either C1 or
C2, it doesn't matter?
2010/6/5 鍾明勳(Zhong, Ming-Xun) <zhongmx at gmail.com>
> C is a Web Server provide some REST-like API to http client.
> It receive the http client request then convert to message-driven protocol
> then send to backend server S1, S2, S3,
> thus C is treat as a Client in message-driven architecture
>
> On Sat, Jun 5, 2010 at 5:08 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:
>
>>
>> Hi,
>>
>> Can you explain the scenario in more detail. You say that S1, S2, S3 are
>> servers, but C1, C2 are servers as well. Where are the clients? How
>> should the messages pass through the infrastructure? Etc.
>>
>> Martin
>>
>> On 4/6/2010, "鍾明勳(Zhong, Ming-Xun)" <zhongmx at gmail.com> wrote:
>>
>>
>
>> >>
>> >>
>> >> S1
>> >> S2 ------------------------ C
>> >> S3
>> >>
>> >>
>> >> Now I want let C be HA, C itself is actually a server, thus has some
>> >> persistence state store in shared storage
>> >>
>> >> S1 |---- C1----
>> >> S2 --- ??? ---+ |---- Shared Storage
>> >> S3 |---- C2----|
>> >>
>> >> The reply from S1,S2,S3 could be process by C1 or C2.
>> >>
>> >>
>> >> Here is my question, how do I:
>> >> 1. C could send request message to assigned S
>> >> 2. S reply to any of C
>> >> 3. C does not block on send/recv
>> >>
>> >> --
>> >> Zhong, Ming-Xun¡]Áé©ú¾±¡^
>> >> http://www.CDPA.nsysu.edu.tw/~zmx/
>> >> http://frogbsd.wordpress.com
>> >>
>> >
>> >To clarify my question, I use linux-ha.org so C1/C2 will have same IP
>> >address.
>> >If there is solution to not share same IP address, that would even
>> better.
>> >
>> >--
>> >Zhong, Ming-Xun¡]Áé©ú¾±¡^
>> >http://www.CDPA.nsysu.edu.tw/~zmx/
>> >http://frogbsd.wordpress.com
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
>
> --
> Zhong, Ming-Xun(鍾明勳)
>
> http://www.CDPA.nsysu.edu.tw/~zmx/
> http://frogbsd.wordpress.com
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100605/0bb01a82/attachment.htm>
More information about the zeromq-dev
mailing list