Community discussions

MikroTik App
User avatar
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 84
Joined: 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


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 example the 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
Long time Member
Long time Member
Posts: 637
Joined: Fri May 28, 2004 5:10 pm

Wed Jul 26, 2006 7:36 pm

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

Page seven.

Forum Guru
Forum Guru
Posts: 1220
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa

Wed Jul 26, 2006 9:44 pm

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

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...
User avatar
Forum Veteran
Forum Veteran
Posts: 888
Joined: 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

Who is online

Users browsing this forum: afahmytik, CyberDaeng and 116 guests