[Haskell-cafe] Optimizing a high-traffic network architecture

Tomasz Zielonka tomasz.zielonka at gmail.com
Sat Dec 17 04:55:59 EST 2005


On Fri, Dec 16, 2005 at 04:41:05PM +0300, Bulat Ziganshin wrote:
> Hello Joel,
> 
> Friday, December 16, 2005, 3:22:46 AM, you wrote:
> 
> >> TZ> You don't have to check "every few seconds". You can determine
> >> TZ> exactly how much you have to sleep - just check the timeout/ 
> >> event with
> >> TZ> the lowest ClockTime.
> 
> JR> The scenario above does account for the situation that you are  
> JR> describing.
> 
> to be exact - Tomasz's variant don't work proper in this situation,
> but your code (which is not use this technique) is ok

Well, what I said was just a sketch. Of course you have to somehow
handle timeout requests coming during the sleep.

Best regards
Tomasz

-- 
I am searching for a programmer who is good at least in some of
[Haskell, ML, C++, Linux, FreeBSD, math] for work in Warsaw, Poland


More information about the Haskell-Cafe mailing list