[zeromq-dev] Question about HA and Tolerance of REQ-[ROUTER-ROUTER]-REQ pattern

Ken.Zhang ken.zhangjian at gmail.com
Sat Apr 14 14:57:37 CEST 2012


Hi,
I am implementing an "Msg Router" using ZMQ in jzmq. The client socket
connection id is held by Router and persisted to file. When the router
recover from a crash, the client socket id is read in and used to rebuild
the connection by sending msg to it which is supposed to be blocked and
waiting msgs right there. The problem is most of time the client seems
can't recv msgs after the router crash, and sometimes can recv but only
tolerate one time crash.(means if router crash again, no chance to connect
to the client any more) Is it about something like cache or buffer?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120414/52601a49/attachment.htm>


More information about the zeromq-dev mailing list