[squid-users] Squid as image server

From: Reinis Rozitis <r@dont-contact.us>
Date: Fri, 10 Nov 2006 14:43:33 +0200

Hello,
I'm playing with 2.6 squid as an image cache/accelerator and maybe
somebody can give some notes about such issues.

Is there a way (prolly somebody has allready asked before) or a patch
to make Squid put some objects only in memory?
In case of lots (few hundred thousands) small (2-3kb) image files
keeping them as copy on hdd isnt very efficient (well okay you can let
also the OS cache the files in buffer still I have bad experience with
the IO and swaping that way)?

Actually something like minimum_disk_cache_object_size (the same as
minimum_object_size but ignored for ram) setting combined with
maximum_object_size_in_memory would be required..

Is there sense in making more than a one COSS cache_dir (distribute
objects by size) for example:

cache_dir coss /data/squid/smallfiles 10000 block-size=2048 max-size=8192
cache_dir coss /data/squid/bigerfiles 10000 block-size=2048 max-size=131072
cache_dir aufs /data/squid/var/cache 16000 16 16

with best regards
Reinis
Received on Fri Nov 10 2006 - 05:43:29 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST