Search squid archive

Squid as image server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux