httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] http_main big patch
Date Sun, 29 Jun 1997 21:39:51 GMT
What the hell... +1

We can work out stuff later :/

Dean Gaudet wrote:
> 
> Here's a heads up... The patch below does the following:
> 
> - eliminate a starvation that can occur if some sockets on the listener list
>     are really busy.  The sockets further down the list are not considered
>     on an equal basis.
> 
> - clean up duplicate listener code between WIN32 and Unix/OS2
> 
> - eliminate the sleep(1) in wait_or_timeout under unix, replace it with a
>     select, and a tuneable SCOREBOARD_MAINTENANCE_INTERVAL, see httpd.h.
> 
> - reduce O(n^2) loops to O(n) loops during scoreboard maintenance.
> 
> - eliminate the per-hit idle server check, instead the server kills off
>     or starts up one child per SCOREBOARD_MAINTENANCE_INTERVAL according
>     to min/maxspare settings.
> 
> - ditch unused old scoreboard code/functions
> 
> I've almost got standalone_main() down to a readable size.
> 
-- 
====================================================================
      Jim Jagielski            |       jaguNET Access Services
     jim@jaguNET.com           |       http://www.jaguNET.com/
            "Look at me! I'm wearing a cardboard belt!"

Mime
View raw message