没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Redis Cluster
a pragmatic approach to distribution
All nodes are directly
connected with a
service channel.
TCP baseport+4000,
example 6379 ->
10379.
Node to Node protocol
is binary, optimized for
bandwidth and speed.
Clients talk to nodes as
usually, using ascii
protocol, with minor
additions.
Nodes don't proxy
queries.
What nodes talk about?
PING: are you ok dude?
I'm master for XYZ hash slots.
Config is FF89X1JK
Gossip: this are info about
other nodes I'm in touch with:
A replies to my ping, I think its
state is OK.
B is idle, I guess it's having
problems but I need some
ACK.
PONG: Sure I'm ok dude!
I'm master for XYZ hash slots.
Config is FF89X1JK
Gossip: I want to share with
you some info about random
nodes:
C and D are fine and replied in
time.
But B is idle for me as well!
IMHO it's down!.
Hash slots
keyspace is divided into 4096 hash slots. But in this example
we'll assume they are just ten, from 0 to 9 ;)
Different nodes will hold a subset of hash slots.
A given key "foo" is at slot:
slot = crc16("foo") mod NUMER_SLOTS
剩余16页未读,继续阅读
资源评论
- 板鞋飞人_Young2012-07-03考,坑爹。。就是Salvatore演讲的那个ppt,浪费我3分。。这里直接可以下载http://redis.io/presentation/Redis_Cluster.pdf
- linglingsongsong2015-06-02还好吧,不过这是免费的啊
tianjianyong
- 粉丝: 2
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功