groupcache_003_cache
2017-04-20 14:09:55 1 举报
groupcache
作者其他创作
大纲/内容
map1(consistancehash) 节点
ip1:9000
ip2:9000
req:k3导致p1/p2重复缓存ip1:k3ip2:k3
req3: ip3:k3
hash:k1 --p1: k2 --p2:k3 --p3: 无法访问
H1(key)
req5: ip2:k1
H2(key)
ip3: 断开
k3
peek1
map3(consistancehash)
k3被缓存
k1被缓存
req6: ip3:k1
cache3
map2(consistancehash)
req2: ip2:k2
peek2
req4: ip1:k2
ip3:9000
peek3
H3(key)
ip1/2 watch被触发
k2被缓存
k1 --p1: okk2 --p2: okk3 --p3: ok
req1: ip1:k1
ip3: 重新注册
cache1
cache2
收藏
0 条评论
下一页