
Redis
文章平均质量分 53
pcyph
这个作者很懒,什么都没留下…
展开
-
Redis示例配置文件
# Redis示例配置文件 # 注意单位问题:当需要设置内存大小的时候,可以使用类似1k、5GB、4M这样的常见格式: # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*1024 bytes # 1g => 1000000000 bytes # 1gb => 1024*1原创 2015-08-26 22:26:04 · 756 阅读 · 0 评论 -
Redis(7)Creating and Using Cluster Mode
Redis(7)Creating and Using Cluster Mode 1. Documents Cluster will not support SELECT, it only contains database 0. All the nodes use TCP bus and binary protocol to communicate. Every node connect转载 2015-08-21 23:22:51 · 954 阅读 · 0 评论 -
redis cluster 集群重启关闭
找遍了redis cluster官方文档,没发现有关集群重启和关闭的方法。为啥会没有呢,猜测redis cluster至少要三个节点才能运行,三台同时挂掉的可能性比较小,只要不同时挂掉,挂掉的机器修复后在加入集群,集群都能良好的运作,万一同时挂掉,数据又没有备份的话,就有大麻烦了。 redis cluster集群中的节点基本上都对等的,没有管理节点。如果要让所有节点都关闭,只能关闭进程了#原创 2015-08-21 23:12:25 · 21829 阅读 · 8 评论