Re: [zeromq-dev] loadbalancing problem?

2010-10-20 Thread Nir Soffer
Doesn't the Least-Recently Used Routing method solve your problem? http://zguide.zeromq.org/chapter:all#toc44 You send messages only to ready workers - if there is no ready worker, fail after some timeout. On Wed, Oct 20, 2010 at 3:47 PM, Martin Sustrik wrote: > > Sven, > > > I saw, there alread

Re: [zeromq-dev] disabling epoll()

2010-10-04 Thread Nir Soffer
On Mon, Oct 4, 2010 at 3:19 PM, Martin Sustrik wrote: > On 10/04/2010 03:09 PM, Martin Lucina wrote: > > >> What I recall Malo told me long time ago is that autoconf is able to > >> compile and run a small user-supplied test program and defined the macro > >> depending on whether it succeeds or f

Re: [zeromq-dev] Issue 85 & 92

2010-10-02 Thread Nir Soffer
Ok, here is a proposal: 1. When context is terminated, it will ask sockets to terminate when they are done. 2. A socket is done when it does not have pending outgoing messages. 3. A terminated socket will return ETERM for any call. This means that all the resources can be released.

[zeromq-dev] Notification when socket is connected or disconnected

2010-10-01 Thread Nir Soffer
already hangup :-) Nir Soffer ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] [PATCH] issue-69 - ensure that a reader cannot terminate in the middle of a multipart message

2010-10-01 Thread Nir Soffer
Hi all,http://github.com/zeromq/zeromq2/issues/issue/69 discuss possible inconsistency with in xrep_t:more_in and xrep_t::prefetched if a reader terminates in the middle of a multipart message. According to Martin Sustrik, this is not allowed. The patch ensures that this can never happen.Licensed u