Provides connection pooling for multiple services that use persistent connections
$ gem install pools
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
Michael Rykov :: mrykov@gmail.com