Java is used in two ways Redis:
1. Use a standard Jedis operate Redis Example
2. Use spring-data-redis operated instance Redis
Redis distributed and clustered
1.Redis ShardedJedisPool implemented using distributed client tile (multi-master Spare)
2.Redis cluster into the cluster Sentinel Sentinel mechanism (a multi-standby master) and after 3.0 using JedisCluster clusters of (n a master multi-standby)