Low commit activity in last 3 years
No release in over a year
Generalized connection pooling
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Pools - Reusable Connection Pooling

Gem Version Build Status

Provides connection pooling for multiple services that use persistent connections

Installation

$ gem install pools

Redis Connection Pooling

redis = Redis::Pooled.new(regular_init_options)
redis.set("Regular", "Command")

# Check out a connection for multiple commands
redis.with_connection do |conn|
  conn.multi
  a = conn.get('a')
  conn.set('b', a)
  conn.exec
end

Author

Michael Rykov :: mrykov@gmail.com