2009/6/4 Noble Paul നോബിള്‍  नोब्ळ् <noble.p...@corp.aol.com>:
> FastLRUCache is designed to be lock free so it is well suited for
> caches which are hit several times in a request. I guess there is no
> harm in using FastLRUCache across all the caches.

Gets are cheaper, but evictions are more expensive.  If the cache hit
rate is low, the old synchronized cache may be faster, unless you have
a ton of CPUs... not sure where the crossover point is though.

-Yonik
http://www.lucidimagination.com

Reply via email to