RE: [SQU] redirector spec

From: Dimitris 'sehh' Michelinakis <sehh@dont-contact.us>
Date: Fri, 10 Nov 2000 06:32:11 +0000 (GMT)

On Thu, 9 Nov 2000 08:35:48 +1100, Robert Collins wrote:

>Are you suggesting a round-robin approach? Squid currently does this:
>1st request - first free redirector
>2nd request - first free redirector
>When a redirector is currently handling a request it is marked Busy.
>If all the redirectors are Busy, the request is queued.
>Why use first-free instead of round-robin?
>First-free uses the first helper the most, then the 2nd and so on, so
>most of your 32 helpers can sit swapped out freeing RAM for your working
>set. Using a round-robin approach will page all your helpers into
>memory. From a CPU point of view the first free is better as well
>because when a request is finished, if there is a queue, squid can just
>send the next request to the helper immediately, without going around a
>poll() loop...

ok i understand. It just seemed to me a better idea to just hit 32 different
redirectors to scan URL's at the same time, than just put the load into
the first one and then the second etc..

þ H.I.C. & D.B.S. þ OS/2 Warp þ Hellas þ
þ ServerConfig þ ConfigEdit þ OS/2 UK UG þ

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Nov 09 2000 - 23:34:58 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:18 MST