Skip to content

oivoodoo/redis_poolex

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

RedisPoolex

Redis connection pool using poolboy and exredis libraries.

Examples

alias RedisPoolex, as: Redis

Redis.query(["SET", "key1", "value1"]) => "OK"
Redis.query(["GET", "key1"]) => "value1"
Redis.query(["GET", "key2"]) => :undefined

Installation

If available in Hex, the package can be installed as:

  1. Add redis_poolex to your list of dependencies in mix.exs:

    def deps do [{:redis_poolex, "~> 0.0.5"}] end

  2. Ensure redis_poolex is started before your application:

    def application do [applications: [:redis_poolex]] end

Dev Env

make build - setup containers make test - run test cases

About

Redis pool using poolboy(connection pool) and exredis(redis client).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published