On 02/27/2016 02:01 AM, Ahmad wrote: > How much can we store in rock ? As much as your disk space allows, essentially. A single cache_dir (of any type) is limited to about 16 million objects (of any size). > I already used the rock with 3.5.15 squid and it seems mean object size like 35K The mean [cachable] object size is a traffic property so it does not depend on what cache_dir type you are using. Once you know your traffic, you can tune cache_dir parameters accordingly (or you can leave the optional parameters at their default settings if you do not want to tune anything). Please note that tuning rock db slot size based on _mean_ object size is probably a bad idea because occasional huge objects skew mean a lot. You probably need a histogram of sizes and a good idea of what you are trying to optimize (disk space waste, hit response time, or something else). I do not have a ready-to-use recipe for slot size optimization. I hope the default 32KB works well for many (most?) cases. > So im not getting any good things What "good things" do you desire to get and why [do you think] you are not getting them? > Can I cache like 10 M object size in rock ? Yes, you should be able to cache a 10 megabyte object in your rock cache_dir if that store is large enough (e.g. 100 megabytes). > Can I cache that in memeory ? Yes, if your cache_mem is large enough. > Can u just tell me the max object size I can have with the last version of squid? I cannot because there is no hard-coded limit AFAIK (except for the impractical ~9'223'372'036'854'775'808 byte limit due to various 64-bit counters used by Squid). I am sure Squid will not work well much sooner than that limit is reached. HTH, Alex. _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users