schacon / redis-rb forked from ezmobius/redis-rb

A ruby client library for the redis key value storage engine

This URL has Read+Write access

Matt (author)
Tue Mar 31 11:52:35 -0700 2009
schacon (committer)
Tue Oct 27 16:34:20 -0700 2009
name age message
file .gitignore Wed Jun 10 08:55:23 -0700 2009 Added rcov Rake task [jodosha]
file LICENSE Wed Feb 25 19:46:48 -0800 2009 make a proper gem. implement *all* protocol spe... [ezmobius]
file README.markdown Sun Sep 27 22:02:49 -0700 2009 test - ignore me [schacon]
file Rakefile Fri Sep 25 00:10:53 -0700 2009 version 0.2.3 [defunkt]
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/ Thu Jul 23 10:25:30 -0700 2009 changing gem name to plain old redis [ezmobius]
directory lib/ Tue Oct 27 16:33:37 -0700 2009 Sometimes Redis throws a Errno::ECONNABORTED. c... [pangel]
file profile.rb Sun Mar 22 14:14:16 -0700 2009 speed Signed-off-by: ezmobius <ez@engineyard.com> [jeremy]
file redis-rb.gemspec Fri Sep 25 00:10:53 -0700 2009 version 0.2.3 [defunkt]
file redis.gemspec Tue Oct 27 16:34:20 -0700 2009 updates to gemspec [Matt]
directory spec/ Tue Oct 27 16:34:00 -0700 2009 Specs for SRANDMEMBER command [jodosha]
file speed.rb Sun Mar 22 14:14:16 -0700 2009 speed Signed-off-by: ezmobius <ez@engineyard.com> [jeremy]
directory tasks/ Sun Oct 18 02:40:32 -0700 2009 Don't let shutdown command is being print on th... [jodosha]
README.markdown

redis-rb

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

test

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.

See the build on RunCodeRun

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.

Differences from ezmobius/redis-rb

  • Connection is deferred until you use the library. a420731
  • You may initialize a Redis::Namespace class for scoping all keys to a namespace

I will continue to merge in changes from ezmobius/redis-rb.

Installation

gem install defunkt-redis