Hi, On Sat, Aug 20, 2011 at 8:08 PM, Pieter Hintjens <[email protected]> wrote: > On Sat, Aug 20, 2011 at 5:46 PM, Mathijs Kwik <[email protected]> wrote: > >> Cool, I needed some confirmation that close/reconnect isn't evil/ >> frowned upon. > > It depends. > > Could be good design, could be bad design. For example, reconnecting > is a simple way to handle certain error conditions (see Lazy Pirate > pattern), but frequent close/reconnect in normal situations may > exhaust system resources (running out of file handles or sockets). > > General advice would be "never design anything that's not a precise > minimal answer to a problem you can identify and have to solve".
And in my opinion the minimal answer would be to use XREQ. -- Paul _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
