Skip to content

Elixir Redis client with connection pools, hash-slots distribution discovery and routing support.

Notifications You must be signed in to change notification settings

maxkuzmins/elredis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elredis

TODO: Add description

Installation

If available in Hex, the package can be installed by adding elredis to your list of dependencies in mix.exs:

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

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elredis.

Examples

Connecting to a Redis cluster

Elredis.start_link_cluster([
    {'127.0.0.1', 7000, 0, String.codepoints(""), 100, 5000}, 
    {'127.0.0.1', 7001, 0, String.codepoints(""), 100, 5000},
    {'127.0.0.1', 7002, 0, String.codepoints(""), 100, 5000}
])
{:ok, #PID<0.125.0>}

About

Elixir Redis client with connection pools, hash-slots distribution discovery and routing support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages