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

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 24 Jan 2008 15:04:27 +0900

Hi,

I'd first give ZFS a shot - either through opensolaris or FreeBSD.
It has slightly saner memory caching logic (which eats RAM for breakfast
mind you) that may suit this workload a little better.

Thats probably a smarter move than trying to squeeze a HTTP proxy
inline just yet. :)

adrian

On Sat, Jan 19, 2008, Michelle Konzack wrote:
> 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)

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Wed Jan 23 2008 - 22:54:17 MST

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