Re: Sequential sever?

From: Hossam El-Ashkar <hoashkar@dont-contact.us>
Date: Tue, 28 Sep 1999 09:51:03 +0300

Now that squid is known to be multithreaded or multitasked... Does it make
use of parallel processing if existing... I mean if there are multiple
processor on the machine running squid, does it make use of it? or it is
just the OS that distributes the multiple threads on the different
processors??
-------------------------------------------------
Hossam El-Ashkar
h_elashkar@ieee.org

----- Original Message -----
From: Dancer <dancer@zeor.simegen.com>
To: Avi Saxena <avis@infospinner.com>
Cc: <squid-users@ircache.net>
Sent: Tuesday, September 28, 1999 05:28
Subject: Re: Sequential sever?

> Avi Saxena wrote:
> >
> > I just started to look into Squid log files -- it appears that Squid is
a
> > sequential server i.e. handles only one request at a time -- it is not
> > multi-threaded. Is it right?
>
> That's both correct and incorrect. Squid can service many requests
> simultaneously. From the point of view of the user, it's doing many
> requests at once. From the point of view of the code, it's only ever
> doing one thing at a time, but that's true in any multithreaded or
> multitasking system.
>
> So it would not be true to say that squid handles 'only one request at a
> time' from a broad perspective, since squid may be recieving data,
> caching or delivering data for multiple users and multiple requests
> without having to wait for any given request to terminate before another
> can be handled.
>
> D
>
>
Received on Tue Sep 28 1999 - 01:27:37 MDT

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