redis-rb icon indicating copy to clipboard operation
redis-rb copied to clipboard

A Ruby client library for Redis

Results 94 redis-rb issues
Sort by recently updated
recently updated
newest added

RE: Cluster Mode - Use case: App wants to know the commands and resultant load per cluster node (e.g. 'info [section]' where section might be 'stats', 'commandstats', 'memory', 'cpu', etc)....

SSL support in hiredis has been merged: https://github.com/redis/hiredis/pull/645 Relevant code: https://github.com/redis/redis-rb/blob/master/lib/redis/connection/hiredis.rb#L17 hiredis-rb issue: https://github.com/redis/hiredis-rb/issues/58

I noticed the Redis class makes no attempt to automatically disconnect/quit its client connection when the Redis object is garbage collected and instead appears to force the application to manage...

I recently upgraded our app from 4.0.3 to 4.2.5 and our memory use in production immediately went up by about 40%. I rolled back the change and the memory went...

Is there a way to overwrite the default behavior of `Redis.new` in a initializer? id like it to pass some default `ssl_params` in, which would allow our devs to continue...

``` ruby NoMethodError: undefined method `each' for nil:NilClass /usr/local/bundle/gems/redis-4.1.3/lib/redis.rb:2668:in `block in scan_each' /usr/local/bundle/gems/redis-4.1.3/lib/redis.rb:2666:in `loop' /usr/local/bundle/gems/redis-4.1.3/lib/redis.rb:2666:in `scan_each' test/common_test_methods.rb:539:in `block in purge_tasks' lib/v2/updates/redis_updates_processor.rb:15:in `block in with_redis' /usr/local/bundle/gems/redis-4.1.3/lib/redis.rb:2415:in `block in pipelined' /usr/local/bundle/gems/redis-4.1.3/lib/redis.rb:52:in `block...

Since `watch` takes a keys(s) it appears to be supported on redis cluster, but unwatch raises an AmbiguousNodeError since there is no key specified. Is there a reason why `unwatch`...

I keep getting the following error Errno::EFAULT with the stack below. I cannot seem to find out where this is coming from. Has anyone else experienced this? Any help would...

### Steps to repro ``` REDIS_URL=rediss://:[email protected]:1234 irb ``` ```ruby require 'redis' Redis::Client.new(host: '127.0.0.2') ``` ### Expected A client with default port 6379 with no password ### Actual A client with...

Redis::Connection::SocketMixin#read Redis::Connection::SocketMixin#gets abuse String#slice! and should use StringIO as better alternative of buffered read in terms of both CPU and memory. Quick test reveal a shortcoming of the existing solution:...