[zeromq-dev] patch: handle idle connections
Dhammika Pathirana
dhammika at gmail.com
Sun Apr 12 22:00:28 CEST 2009
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
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_mux.diff
Type: text/x-patch
Size: 7652 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090412/69111a8e/attachment.bin>
More information about the zeromq-dev
mailing list