Skip to content

olauzon/jh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jh: Jump Consistent Hash utility

A simple command-line utility and HTTP server for computing consistent hashes using a Rust implementation of Jump Consistent Hash by Lamping & Veach.

Usage

Command-line utility

jh get "my key string" 1024
# => 731

HTTP server

jh server -p 3030
curl "http://127.0.0.1:3030/?k=my%20key%20string&n=1024"
# => 731

Installation

cargo build --release

About

Jump Consistent Hash command line utility and HTTP server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages