Skip to content

ExMaglev - binding Google's consistent hashing algorithm for Elixir

License

Notifications You must be signed in to change notification settings

Vonmo/ex_maglev

Repository files navigation

ExMaglev

Tests Build precompiled NIFs Validate precompiled NIFs

About

ExMaglev is NIF for Elixir which uses Rust binding for Maglev - Google's consistent hashing algorithm.

Installation

The package can be installed by adding ex_maglev to your list of dependencies in mix.exs:

def deps do
  [{:ex_maglev, "~> 0.1.0"}]
end

Supported OS

  • Linux
  • Windows
  • MacOS

Main requirements for a driver

  • Reliability
  • Performance
  • Minimal codebase
  • Safety
  • Functionality

Performance

In a set of tests you can find a performance test and benchmarks

Build Information

ExMaglev requires

  • Erlang >= 24.
  • Rust >= 1.76.
  • Clang >= 15.

Status

Passed all the functional and performance tests.

License

ExMaglev's license is Apache License Version 2.0

About

ExMaglev - binding Google's consistent hashing algorithm for Elixir

Resources

License

Stars

Watchers

Forks

Packages

No packages published