Notes
Search
⌃K
Notes
Search
⌃K
Introduce
Go
Grammar
System Library
Concurrency in Go
The Go Memory Model
Code Snippet
Rust
The Rust Programming Language
Rust by Example
JAVA
Preface
Grammar
Class Libraries
Concurrency
JVM
Web Container
Spring
Tuning
Computer Science
Computer Organization
Algorithm
Network Protocol
Operating System
Design Patterns
Distributed System
Protocol & Algorithm
Transcation
Theory
Resource Management
Scheduling
Computing
Message Queue
Cache
Consistent Hashing
database
InfluxDB
MySQL
Redis
Elasticsearch
HBase
Kafka
ZooKeeper
Reading
RocketMQ
演说之禅
So Good They Can't Ignore You
学会提问
Lecture
Other
v2ray
Kubernetes
Git
Maven
Anaconda And Conda
Fuck! Shit!
Open source contribution
Powered By
GitBook
Consistent Hashing
若总共有三个节点。
原始的 Hash 算法
丢失一个节点后,总数变化,失效数据大于 1/3 。
一致性 Hash 算法
丢失一个节点后,失效数据等于 1/3 。所有失效数据请求到一个节点。
虚拟节点
丢失一个节点后,失效数据等于 1/3。所有失效数据请求到剩下的各个节点。
Hash Slot
Redis 使用的。
Previous
Cache
Next - database
InfluxDB
Last modified
4yr ago