3 ms·
> Contrary to both the Libev page and Marek's analysis, setting timeouts on individual I/O events is not the only way to implement "idle timeouts" just a quic
by signa11 18y ago
> Contrary to both the Libev page and Marek's analysis, setting timeouts on individual I/O events is not the only way to
implement "idle timeouts"
just a quick question: what would you consider, is a superior approach to idle-timeouts ? thanks for you insights !
- huhtenberg 18y agohttp://lwn.net/Articles/156329 http://lwn.net/Articles/156329
- tptacek 18y agoUse another data structure to track connections by liveness, which you can measure by timestamping on each RX event. Relax the requirement that an connection idle timeout of 60 seconds must fire in exactly 60,000 milliseconds; 60, 61, 65, nobody cares.