Re: [squid-users] Two Squid with common cache

From: Nyamul Hassan <mnhassan_at_usa.net>
Date: Fri, 6 Mar 2009 13:24:51 +0600

Hi all,

This thread just raised another question on my mind. How would adding
another instance (in the same box) with "null cache_dir" improve my
performance? I'm a bit confused. Could you please explain a bit more?

Regards
HASSAN

----- Original Message -----
From: "Leonardo Rodrigues Magalhães" <leolistas_at_solutti.com.br>
To: <squid-users_at_squid-cache.org>
Cc: <shekharsahab14_at_gmail.com>
Sent: Thursday, February 26, 2009 08:11
Subject: Re: [squid-users] Two Squid with common cache

Amos Jeffries escreveu:
> Shekhar Gupta wrote:
>> I was looking whether it would be possible or not . On a single server
>> if i install squid at two diff location however i would like the
>> cache_dir to be common between the 2 squid ???? is this possible to it
>> will have problem .
>
> Not possible with any current squid. The cache_dir is only a part of the
> cached data. Much is volatile and held in memory of the running process.
>

    anyway, with probably some minor config tweaking, you could have
your second squid instance running with null cache_dir and parent it to
the first squid instance.

    it wouldnt be exactly '2 squid running on the same cache_dir', but
would give you the hit gains and disk space saving you're looking for.

-- 
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes_at_solutti.com.br
My SPAMTRAP, do not email it
Received on Fri Mar 06 2009 - 07:27:37 MST

This archive was generated by hypermail 2.2.0 : Fri Mar 06 2009 - 12:00:02 MST