/nebulex_cluster

Cluster utilities for Nebulex adapters like Redis or Memcached

Primary LanguageElixirMIT LicenseMIT

NebulexCluster

Cluster handling utilities for external Nebulex adapters.

CI Coverage Status Hex Version Docs

This project is especially for those adapters that want to provide cluster support in a very simple way based on sharding distribution model. For example, for Redis and Memcached adapters, we can provide multiple connection pools (connection-pool per node) and client-side sharding on top of them very easy.

Installation

Add nebulex_cluster to your list of dependencies in mix.exs:

def deps do
  [
    {:nebulex_cluster, "~> 0.1"}
  ]
end

Then run mix deps.get in your shell to fetch the dependencies.

Usage

Check out NebulexRedisAdapter to learn more about how to use NebulexCluster.

Testing

$ mix test

Copyright and License

Copyright (c) 2019, Carlos Bolaños.

NebulexCluster source code is licensed under the MIT License.