Community discussions

MikroTik App
用户头像
aitsecurity
常客
常客
Topic Author
Posts: 84
加入: Thu Mar 16, 2006 12:28 am
Location:venezuela

webproxy and magic number for size cache in Harddisk

Sat May 06, 2006 12:12 am

HI!

i am thinking this

if you have in squid (Mikrotik), a 80 Gb HD, and use this for cache websites, is to big, when a user go to examplehttp://www.google.comthe webproxy need search in very big disk. i know the algorithm in squid BUT!!!

now, in you experience which is the magic number for webproxy "Maximun cache size" i am thinking for example put 2 Gb for more fast search in hard disk. and no use "unlimited" only put "unlimited for ram cache"

what you thinks about this.
thanks very much
Top
hci
Long time Member
Long time Member
Posts: 670
加入: 星期五米ay 28, 2004 5:10 pm

Wed Jul 26, 2006 7:36 pm

According to Swelltech.com its 8GByte of cache per T1 of bandwidth.

http://www.swelltech.com/support/pdfs/sizecache.pdf

Page seven.

Matt
Top
savage
Forum Guru
Forum Guru
Posts: 1250
加入: Mon Oct 18, 2004 12:07 am
Location:Cape Town, South Africa
Contact:

Wed Jul 26, 2006 9:44 pm

According to Swelltech.com its 8GByte of cache per T1 of bandwidth.

http://www.swelltech.com/support/pdfs/sizecache.pdf

Page seven.
Personally, I would disagree with that. It's much more complicated than simply xGB per xMB/s of bandwidth. The amount of users, the frequency of the same site visits, and the cacability of the frequently visited web sites will play a much bigger factor.

8GB on 1 T1 line will mean nothing if 99% of site visits are to sites coded in PHP or ASP (which is extremely rare to be cachable)...

As always, I recommend proper Squid boxes, with propper access to the log files. These logs can then be analysed, and recommendations and improovements can be made as required based on your users browsing habits. On 1 1MB line with 5 users for example, it's very easy to get a cache to hit (amount of objects fetched out of the proxy) of well over 60% - but this requires massive tweaking and customisations on the proxy configuration - something, that is not possible in MT...
Top
用户头像
Equis
Forum Veteran
Forum Veteran
Posts: 886
加入: Mon Jun 06, 2005 6:48 am

Thu Jul 27, 2006 12:13 pm

I have been told cache 3 days web traffic

so if you use 1 gig per day make cache 3gb
Top

Who is online

Users browsing this forum:Bing [Bot],culnaen,doctor12th,enricosavazzi,sindyand 37 guests