apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject Re: [PATCH] speed up network timeout processing
Date Sat, 06 Jul 2002 00:29:18 GMT
On Fri, 5 Jul 2002, Roy T. Fielding wrote:

> > If that was all we were doing, I would agree with you.  But `Jeff's patch
> > implements BOTH select and poll with an #ifdef, because not every platform
> > has poll().  This is exactly the reason for having apr_poll(), and not
> > using it is stupid.  If the argument is performance, then back it up with
> > numbers.  If the performance is as bad as everybody seems to think it is,
> > then fix the functions.  If the problem is the API itself, then fix the
> > API.
> But the only way to fix the API is to supply it with a block of memory
> rather than a pool pointer.

Which is exactly what my current implementation does.  I only use a pool
once throughout the new poll code.  I think we can optimize that pool out
for the most common case, but that is for after my current set of testing.


Ryan Bloom                        	rbb@apache.org
550 Jean St
Oakland CA 94610

View raw message