The ShardedJedisClient is a wrapper around the jedis client.
Add this line to your application's Gemfile:
source 'http://adsqa.office.aol.com/gems/'
gem 'sharded_jedis_client'
And then execute:
$ bundle
Or install it yourself as: $ gem sources --add source http://adsqa.office.aol.com/gems/ $ gem install sharded_jedis_client
A wrapper around the Java Jedis client. The Jedsis client supports sharding.
Example:
hosts = %w[redis://:pa$$[email protected]:6310 redis://:pa$$[email protected]:6320 redis://:pa$$[email protected]:6330 ]
redis = ShardedJedisClient.new(hosts)
redis.get('some_key_271777')
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request