redis-rb
redis-rb copied to clipboard
A Ruby client library for Redis
Is it desired to document exceptions that may be raised (for example `Redis#get` may raise `Redis::CommandError`)? I can do pull request.
Redis::ConnectionError: Connection lost (EPIPE) when write large data to sorted set in a transaction
`$redis.multi do |multi| multi.zadd 'my_key', my_arr end` 'my_arr' contains about 1 million records. When reduce 'my_arr' to 0.5 million records, it worked well. All records can be zadded successfully one...
Using gem v `4.0.1` causes RSS memory to continually increase with each access to redis. Perhaps someone can shed some light on this? Gist demonstrating behavior: https://gist.github.com/tboyko/943f52702fa9a623da56acd19130c141 Output: ``` start:...
Redis makes no assertions about the encoding of string stored within it. Therefore, IMO, all strings returned from Redis data retrieval methods should be `.force_encoding("BINARY")`.
I get random Timeout errors while connecting from my Rails app to Redis in AWS ElastiCache. It will make it a lot easier to debug if the exception message also...
Configuring a Redis client, a user is expected to either use several hash options (`:host`, `:port`, etc...) *or* a `:url`. I've seen confusion in environments with multiple Redis clients around...
The `object` command in its current form requires a `subcommand` and a `key`. Would there be any objections to a PR to update the function definition from ``` def object(*args)...
Kind of found an odd error to track down. in the redis.rb file. Starting at line 49 ``` ruby def initialize(options = {}) @options = options.dup @original_client = @client =...
Thanks for the awesome library! I've used it a ton, and it has been incredibly useful. However, on a new Rails app (4.2.5.2) I'm working on, I'm getting this error...
2.1.4 :001 > require "redis" => true 2.1.4 :002 > redis = Redis.new => # 2.1.4 :003 > redis.hset "test", "foo", "bar" => true 2.1.4 :004 > redis.multi => "OK"...