sacheendra / java-consistent-hashing-algorithms

Java implementations of the most popular and best performing consistent hashing algorithms for non-peer-to-peer contexts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

java-consistent-hashing-algorithms

This project collects Java implementations of the most popular and best performing consistent hashing algorithms for non-peer-to-peer contexts.

The implemented algorithms are:

Each implementation is divided into two classes:

  • Each Engine class (e.g., AnchorEngine) contains an accurate implementation of the algorithm as described in the related paper. These classes do not make any consistency check to keep the performance as close as possible to what was claimed in the related papers.
  • Each Hash class (e.g., AnchorHash) is a wrapper of the related Engine class allowing every implementation to match the same interface. These classes also perform all the consistency checks needed to grant a safe execution.

About

Java implementations of the most popular and best performing consistent hashing algorithms for non-peer-to-peer contexts.

License:GNU General Public License v3.0


Languages

Language:Java 100.0%