A ruby client library for the redis key value storage system.
Information about redis
Redis is a key value store with some interesting features:
- It's fast.
- Keys are strings but values can have types of "NONE", "STRING", "LIST", or "SET". List's can be atomically push'd, pop'd, lpush'd, lpop'd and indexed. This allows you to store things like lists of comments under one key while retaining the ability to append comments without reading and putting back the whole list.
See redis on code.google.com for more information.
See the build on RunCodeRun
sudo gem install rspec
git - git is the new black.
Use the tasks mentioned above (in Dependencies) to get your machine setup.
Check the examples/ directory. Note you need to have redis-server running first.
Differences from ezmobius/redis-rb
- Connection is deferred until you use the library. a420731
- You may initialize a
Redis::Namespaceclass for scoping all keys to a namespace
I will continue to merge in changes from ezmobius/redis-rb.
gem install defunkt-redis