Re: [squid-users] Same cache_dir for many squid process

From: csn233 <csn233_at_gmail.com>
Date: Sat, 1 Jun 2013 10:59:47 +0800

> if you correctly configure your parents to not cache anything, then
> you'll have no duplications. In that case, only the squid you'll choose will
> manage cache on disk.
>
> it can be as simple as a
>
> cache_dir null
>
> to the parent squids.

If the parents have cache_dir null, those parents would simply be
relaying the requests to the origin servers. They do not add any value
- the child cache(s) can simply send the requests direct. If fact,
you are adding overheads, the same 1 single request has to go through
the child and then the parent, ie 2 separate processes to process the
same 1 request.

With SMP, if you have 2 processes, you can process 2 separate requests
simultaneously.

As usual, corrections welcome.
Received on Sat Jun 01 2013 - 02:59:55 MDT

This archive was generated by hypermail 2.2.0 : Sat Jun 01 2013 - 12:00:07 MDT