[zeromq-dev] patch: handle idle connections

Martin Sustrik sustrik at fastmq.com
Sun Apr 12 09:49:22 CEST 2009

Hi Dhammika,

I wonder why my previous email haven't appeared in the mailing list. I 
hope this one will fare better...

> Wouldn't it add more overhead to maintain index consistency?
> Basically every swap will need two additional operations to update indexes.
> I guess it'll depend on the use case. If we have lot of long running
> instances then it'll work great.
> But if we have pipes that come and go, then I'm not sure.

No idea. However, O(n) is not an option. Let's do O(1) first, then run 
the perf tests. If the performance impact is severe, let's address the 
problem afterwards.


More information about the zeromq-dev mailing list