缓存

来源:互联网 发布:淘宝买家具靠谱吗 编辑:程序博客网 时间:2024/06/05 08:25

http://www.jianshu.com/p/22af55518f6d

http://www.2cto.com/kf/201606/514203.html

http://doc.redisfans.com/

https://my.oschina.net/guol/blog/506193

http://lib.csdn.net/base/redis

http://blog.sina.com.cn/s/blog_75ad98f30102w6po.html

http://lib.csdn.net/article/redis/33609

http://lib.csdn.net/article/redis/22526


rediscluster集群坑

http://blog.jobbole.com/86543/


#打开redis集群
cluster-enabled yes
cluster-config-file /data/redis/6300/nodes-6300.conf
#节点互连超时的阀值(单位毫秒)
cluster-node-timeout 15000
#一个主节点在拥有多少个好的从节点的时候就要割让一个从节点出来给其他没有从节点或者从节点挂掉的主节点
cluster-migration-barrier 1
#如果某一些key space没有被集群中任何节点覆盖,最常见的就是一个node挂掉,集群将停止接受写入
cluster-require-full-coverage no
#部署在同一机器的redis实例,把auto-aof-rewrite搓开,防止瞬间fork所有redis进程做rewrite,占用大量内存
auto-aof-rewrite-percentage 80-100

0 0
原创粉丝点击