em-redis
em-redis copied to clipboard
An eventmachine-based implementation of the Redis protocol
Hi, I noticed that the array obtained in the test: ``` user_interests.should == [["second-interest", "first-interest"], ['third-interest']] ``` around line 755 in `redis_commands_spec.rb` is random (the two terms in the first...
Some of the INFO fields have been renamed in recent versions of the redis server, and have now a rdb_ prefix. Adapting the specs to reflect that. See https://raw.github.com/antirez/redis/2.6/00-RELEASENOTES. With...
Hey, Here is a patch to allow for reconnection : http://gist.github.com/524175 I'm not really sure how to test it except by hand (which I did), by turning the server on...
According to Redis documentation, setnx takes only two parameters (key and value). Within redis_protocol.rb, setnx is listed as a bulk command. This seems to cause the send_command() function to append...
http://redis.io/commands/setex Probably more effective than the 2 command version that set() can do at the moment
When the client disconnects (potentially due to timeout?) the previous command is not restarted nor is there any notification (callback). If the consumer was waiting on a command -- say...
Hey, It seems that the lib doesn't support ZREMRANGEBYSCORE : http://code.google.com/p/redis/wiki/ZremrangebyscoreCommand Is that on purpose?