WURFL API Cache Provider
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
WURFL API Cache Provider
What's the default cache provider for the Java API?
-
- Posts: 294
- Joined: Mon Jun 20, 2011 5:04 pm
Re: WURFL API Cache Provider
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.
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.
Who is online
Users browsing this forum: No registered users and 22 guests