Category: Caching

How to store Java objects in Redis 0

How to store Java objects in Redis

Redis is one of the most poplar caching solution currently used by various companies. It can act as a cache as well as database and is a simple key-value storage system. As we know...

How to add Auxiliary cache programitically in JCS 0

How to add Auxiliary cache programitically in JCS

In JCS we can enable cache overflow/persistence to disk by using indexed disk cache. We can easily configure this in cache.ccf file like this : jcs.auxiliary.DC=org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory jcs.auxiliary.DC.attributes=org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes jcs.auxiliary.DC.attributes.DiskPath=c:/downloads/cache jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000 jcs.auxiliary.DC.attributes.MaxKeySize=10000 What if you want...

Pros and cons of various caching engines 0

Pros and cons of various caching engines

Pros and cons of various caching engines Memcached Pros Has clients in all major languages. Customers can wrte their own clients in any lnaguage Easy to setup in a distributed environment Does not tie...