[zeromq-dev] Req/Rep pattern with HA requester

鍾明勳(Zhong, Ming-Xun) zhongmx at gmail.com
Sat Jun 5 04:45:06 CEST 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100605/156c9c9a/attachment.html>


More information about the zeromq-dev mailing list