3 ms·
How does its sharding by key algorithm work and how does it handle adding new peers? I was looking for at in the source, but couldn't find anything related to i
by casperc 13y ago
How does its sharding by key algorithm work and how does it handle adding new peers? I was looking for at in the source, but couldn't find anything related to it.
- somethingnew 13y agohttp://en.wikipedia.org/wiki/Consistent_hashing http://en.wikipedia.org/wiki/Consistent_hashing
- dsymonds 13y agoYou need to implement that part yourself. Look in peers.go. It'll be dependent on how you discover peers in general.