> -----Message d'origine----- > De : dormando [mailto:[EMAIL PROTECTED] > > You would not need tuning, and the rate of incoming > requests is not a > > problem IMHO. > > > > - If the rate is very low, one can expect that there won't be any > > stampede (unless the regeneration code is veeeeeeery slow, > but this a > > code tuning problem, and not a caching one) > > - If the rate is moderate, it works fine > > - If the rate is very high, I still prefer to 1% of requests > > regenerating the key instead of 100% one minute later... > > Or do you mean it simply returns a cache miss randomly? I > guess that'd work.
Yep ! 1% of cache requests will return a cache miss, 99% will return a cache hit with the data.
