[zeromq-dev] patch: handle idle connections
Martin Sustrik
sustrik at fastmq.com
Mon Apr 13 07:18:44 CEST 2009
Dhammika,
It looks very neat now. We'll proceed with merging it tomorrow.
Martin
Dhammika Pathirana wrote:
> Patch attached, this is released under MIT license.
> Let me know what you guys think.
>
> regards,
>
> Dhammika
>
>
>
> On Sun, Apr 12, 2009 at 1:09 AM, Dhammika Pathirana <dhammika at gmail.com> wrote:
>> On Sun, Apr 12, 2009 at 12:49 AM, Martin Sustrik <sustrik at fastmq.com> wrote:
>>> Hi Dhammika,
>>>
>>> I wonder why my previous email haven't appeared in the mailing list. I hope
>>> this one will fare better...
>>>
>>
>> I got two replies though
>>
>>
>>>> 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.
>>>
>>
>> oki, I'll add this.
>>
>>
>>> Martin
>>>
More information about the zeromq-dev
mailing list