On Wed, 16 Feb 2005, Marco Crucianelli wrote:
> As I would like to cache normal web stuff and big multimedia files, like
> videos, I was thinking about using two different squid instances running
> on two different machine. This idea was led by the fact that I'm not
> sure on how squid uses replacement algorithm. I'd bettere explain it: if
> I use only one squid, having small files (html pages) and huge files
> togheter (big videos) in the same cache, I guess, will make big files
> the first candidates to be replaced in cache, right?
Depends on the removal policy used. The default lru policy (Least Recently
Used) only considers when the object was last accessed, not the size.
The heap based policies includes the object size in the weight.
Regards
Henrik
Received on Wed Feb 16 2005 - 14:27:04 MST
This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST