Page 1 of 1
WURFL API Cache Provider
Posted: Fri Jun 24, 2011 12:14 pm
by sm_support2
What's the default cache provider for the Java API?
Re: WURFL API Cache Provider
Posted: Fri Jun 24, 2011 12:16 pm
by sm_support2
The default Cache provider is LRUMapCacheProvider.
It is synchronized upon a LRUMap (
http://commons.apache.org/collections/a ... RUMap.html), so not particularly fast for multithreaded projects.
HashMapCacheProvider has no eviction strategy.
For optimal tuning and performance, EhCache is probably the best choice, assuming correct configuration.