apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@apache.org>
Subject Re: [PATCH] speed up network timeout processing
Date Thu, 04 Jul 2002 03:12:36 GMT
Bill Stoddard wrote:
>>>From: trawick@rdu88-250-182.nc.rr.com [mailto:trawick@rdu88-250-

<snip>

> I'd rather pay the maintenance overhead on this code. BTW, testing on AIX
> yields up to a 9% increase in throughput with this patch (serving 500 byte
> file out of mod_mem_cache). Huge win for a small change!
> 
> Bill
> 


fantastic speed improvement that rocks.

like Brian said the APR is to provide a consistent usable interface to 
the outside world. if we choose to implement the timeout using the 
poll() function instead of a select() function than that is perfectly
valid.

another case in which we do the SAME THING is how we implement 
sendfile() on machines which don't have it. we don't use apr_file_writev 
we use another standard system call writev

Ian


Mime
View raw message