peillis / elasticachex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elasticachex

Build Status

An implementation of the Node Auto Discovery for Memcached in the ElastiCache service of AWS.

See AWS documentation

Example

iex> Elasticachex.get_cluster_info("hostname.aws.com")
{:ok, ["memcached.xlttkm.0001.euw1.cache.amazonaws.com:11211", "memcached.xlttkm.0002.euw1.cache.amazonaws.com:11211"], "4"}

Installation

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

def deps do
  [{:elasticachex, "~> 1.1"}]
end

Configuration

config :elasticachex,
  timeout: 5000  # Timeout in milliseconds

About


Languages

Language:Elixir 100.0%