Java Redis is used in two ways

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)

Guess you like

Origin blog.csdn.net/qq_43843725/article/details/94549916