Sha256: 011e17613a647b55c63f68f14f3ea5fcf60274b7ebf92844b8b3fece1b139afe

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

Redis::Pool
===========

A Redis connection pool.

Usage
-----

    require "redis/pool"

    $redis = Redis::Pool.new(size: 10)

    Array.new(100) do
      Thread.new do
        $redis.get("foo")
      end
    end.each(&:join)

    $redis.info["connected_clients"]
    # => 10

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redis-pool-0.1.1 README.md
redis-pool-0.1.0 README.md