github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

janl / awesome

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 114
    • 5
  • Source
  • Commits
  • Network (5)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A Redis implementation in node.js — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

implement RANDOMKEY 
Jan Lehnardt (author)
Sat Dec 05 10:20:20 -0800 2009
commit  9c1ded6104888edbd30c568d08c8f67068b40f57
tree    69e80e409e7e684522394e3812026bbf9f5473b5
parent  9f5881ae0e55cbd634784951ba303d6d19ecb072
awesome /
name age
history
message
file .gitignore Sun Nov 29 06:59:41 -0800 2009 ignore dumpfiles [Jan Lehnardt]
file CHANGES.md Sat Nov 28 09:31:11 -0800 2009 update changes [Jan Lehnardt]
file CONTRIBUTORS.md Fri Nov 27 05:22:56 -0800 2009 thanks! [Jan Lehnardt]
file LICENSE Sun Nov 22 16:31:59 -0800 2009 add license [Jan Lehnardt]
file README.md Sun Nov 22 17:40:51 -0800 2009 typo [Jan Lehnardt]
file TODO.md Sun Nov 29 05:49:10 -0800 2009 add todo about matching big-O [Jan Lehnardt]
file awesome.js Sat Dec 05 10:20:20 -0800 2009 implement RANDOMKEY [Jan Lehnardt]
file sorter.js Sat Dec 05 09:59:41 -0800 2009 implement LREM, fix multi-bulk replies, fix LLE... [Jan Lehnardt]
file store.js Sat Dec 05 10:20:20 -0800 2009 implement RANDOMKEY [Jan Lehnardt]
README.md

Awesome is a Redis clone in node.js

WORK IN PROGRESS

At this point, Awesome has all the plumbing in place to implement all of Redis' commands. It comes with a bunch of commands to show you how to add your own. But it does not yet implement all that is needed to be a grown up Redis. I hope you can pitch in and add your favourite Redis commands :)

What?

Awesome aims to be a drop-in replacement for Redis in a node.js environment. Awesome doesn't claim to better, faster, smaller, whatever.

If nothing else, this code helps me understand Redis and node.js. I hope it helps others to learn either or both, too.

Run Awesome

$ node awesome.js
...bunch of debugging crap...

On another terminal

$ telnet localhost 6379
SET a 3
foo
+OK
GET a
$3
foo
QUIT

Yay!

Run Tests

We're lazy, just run the Redis test suite:

$ cd ../redis
$ make test
...will hang somwhere since Awesome doesn't support all commands yet.

License

MIT License. See LICENSE file.

Who?

Initial code by Jan Lehnardt jan@apache.org.

Special thanks to Ryan Dahl (ry) for node.js and Salvatore Sanfilippo (antirez) for Redis.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server