Skip to content

ahmedtadde/chash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chash

License: MIT CI crates.io docs.rs

This library provides a consistent hashring which simultaneously achieves both uniformity and consistency. It is a direct port of the Go pkg https://github.com/buraksezer/consistent.

For detailed information about the concept, you should take a look at the following resources:

Wishlist

  • Add benchmarks
  • Moar tests! Especially property based testing
  • async/await API
  • Pluggable storage w/ implementations: in-memory (possibly w/ DashMap), etcd, redis, and foundationdb
  • Performance Tuning (mostly the obvious stuff... no quest for glory)

License

Licensed under either of

at your option.

Contribution

  • Contributions are welcome! 🙏
  • Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Consistent HashRing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages