public
Fork of ezmobius/redis-rb
Description: A ruby client library for the redis key value storage engine
Homepage:
Clone URL: git://github.com/francois/redis-rb.git
name age message
file .gitignore Wed Jun 10 08:55:23 -0700 2009 Added rcov Rake task [Luca Guidi]
file LICENSE Wed Feb 25 19:46:48 -0800 2009 make a proper gem. implement *all* protocol spe... [ezmobius]
file README.markdown Tue May 19 11:49:39 -0700 2009 Fixed README. Signed-off-by: ezmobius <ez@engi... [tweibley]
file Rakefile Loading commit data...
file bench.rb Tue Apr 28 16:13:08 -0700 2009 Add simple pipelining for writes (doesn't check... [brynary]
directory benchmarking/ Fri May 08 09:31:53 -0700 2009 Benchmarking code [Alex Verkhovsky]
directory bin/ Sun Mar 01 12:26:00 -0800 2009 implement and spec LSET for setting a single el... [ezmobius]
directory examples/ Wed Mar 25 20:08:46 -0700 2009 all specs pass, definite work in progress this... [tweibley]
directory lib/
file profile.rb Sun Mar 22 14:14:16 -0700 2009 speed Signed-off-by: ezmobius <ez@engineyard.com> [jeremy]
file redis-rb.gemspec
directory spec/
file speed.rb Sun Mar 22 14:14:16 -0700 2009 speed Signed-off-by: ezmobius <ez@engineyard.com> [jeremy]
directory tasks/ Tue May 19 11:49:38 -0700 2009 Correction: svn --> git. Signed-off-by: ezmobi... [tweibley]
README.markdown

redis-rb

A ruby client library for the redis key value storage system.

Information about redis

Redis is a key value store with some interesting features: 1. It's fast. 2. 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.

Dependencies

  1. rspec -

     sudo gem install rspec
    
  2. redis -

    rake redis:install
    
  3. dtach -

    rake dtach:install
    
  4. git - git is the new black.

Setup

Use the tasks mentioned above (in Dependencies) to get your machine setup.

Examples

Check the examples/ directory. Note you need to have redis-server running first.