Caching Technologies for Java Applications Martin Presler-Marshall ICS Performance 09/30/2011
Technologies General object cache attributes
Memcached
DistributedMap (part of Dynacache)
General Object Cache Characteristics An object cache is a Key-Value lookup table  Similar to  java.util.Hashtable Have configurable maximum sizes May be configured number of cache entries or memory size
Objects typically discarded on least-recently-used policy when cache is full Some caches may offer other algorithms, such as priority-based schemes Have configurable lifetimes per cache entry Items are automatically discarded once lifetime is exceeded
Overview: Cache Instances A cache instance is a logical grouping of cache keys & values
Identical keys in two separate cache instances do not collide
Cache statistics can typically be monitored on an instance level

Caching technology comparison

Editor's Notes