On Tue, Apr 5, 2011 at 1:02 AM, Paul Colomiets <[email protected]> wrote: > > > 05.04.2011, 08:45, "Martin Sustrik" <[email protected]>: >> Identities can be used with PUB/SUB to improve reliability of message >> distribution. However, the messages that are on flight during the >> disconnection/failure are dropped anyway. Moreover, if failure lasts for >> long enough, HWM on publisher is ultimately reached and new messages are >> discarded. Which makes the whole identity thing in PUB/SUB more or less >> useless. >> > > Well, same applies to XREP/XREQ, and for PUSH/PULL. Sometimes > identities can assist routing, but it's quite hackish and rare solution. > So may be drop the whole identities feature?
No way. We have production code that relies on the XREP/XREQ identity routing features. Not being able to route to specific hosts, is a critical need in any distributed infrastructure. >> Even if there's limit for number of concurrent subscribers, the fact >> that "session" remains open even though underlying TCP socket is closed >> means the same scenario would quickly exhaust the session limit and >> create a DoS situation for other users. > > I don't use zeromq in the wild (I mean open to external world) so it isn't > real > problem for me. For those who have you probably could give an option. But > for external users you usually need to develop a reliable protocol anyway :). I don't think this is an issue of internal/external usage. Users need to be able to use identities to route. Cheers, Brian > -- > Paul > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > -- Brian E. Granger Cal Poly State University, San Luis Obispo [email protected] and [email protected] _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
