Category: Caching

How does redis cluster work 0

How does redis cluster work

So this is how redis cluster will look like which has 3 masters and 3 slaves.Each master node has a slave node. If master node goes down, slave node will be promoted to the...

How to enable redis in cluster mode 0

How to enable redis in cluster mode

To configure redis in cluster mode we need to run some ruby script. So we first need to download and install ruby. Download Ruby from http://rubyinstaller.org/downloads/ Now that ruby is installed we can run the...

How to use infinispan as a caching engine 0

How to use infinispan as a caching engine

There are many popular caching engines available in the market like redis, ehcache, memcached, jcs etc. In this article we will be covering infinispan.   Download inifinispan server from http://infinispan.org/download/ . Go for ‘server’ Go to...

What is difference between Solr and Lucene 0

What is difference between Solr and Lucene

Lucene vs Solr Many people new to Lucene and Solr will ask the obvious question: Should I use Lucene or Solr? The answer is simple: if you’re asking yourself this question, in 99% of situations, what...

How to use Jedis in multi threaded environment 0

How to use Jedis in multi threaded environment

Jedis instances are single threaded Don’t use the same Jedis connection instance from multiple threads at the same time. Using the same Jedis instance from multiple threads at the same time will result in...