[squid-users] Cache for mp3 and ogg in memory...

From: Michelle Konzack <linux4michelle@dont-contact.us>
Date: Sat, 19 Jan 2008 18:26:20 +0100

Hello,

I have killed a hardisk (160 GByte) again because to heavy traffic of
"gnump3d". The problem is, that the "natural" caching of linux does
not work, even if I have only arround 700 MByte of songs I hear all the
time and the installed memory is 2 GByte. The access of gnump3d on the
harddisk is very heavy, specialy if more then 4 clients use it the same
time... -- and the Media-Server is working 24/7 and use already a
Hardware Raid-1 with HotFix!

What I like to do is to cache those files in a Ramdisk of 1 GByte and
like to use squid-cache to do the "administration" of it, exactly, I
want to CACHE and HOLD files with following rules:

    1. most heared songs with highest priority
        (e.g. songs which are heared more then 20 times
        a week should never removed from cache)
    2. if ram-disk-space is availlable all other songs

and of course, the cached files should never expire...
(the Media-Server is connected to a "bigger" 3000VA APC-Smart-UPS)

Note 1: Since 1 GByte memories (DDR400) are availlable under 40 Euro
         I can add a third module...

Can this be done with squid?

Note 2: My Idea was already to put the "always heared" songs on a
         Infineon CF-Card of 8 GByte (arround 88 Euro) which is
         definitivly cheaper as replacing all 12 month a harddisk.
         Ideas?

Thanks, Greetings and nice Day
    Michelle Konzack
    Tamay Dogan Network

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Received on Wed Jan 23 2008 - 07:15:40 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST