Skip to content

Commit

Permalink
Merge branch 'master' of github.com:votizen/node-rqueue
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Feb 22, 2011
2 parents 59c8a19 + 912e4f1 commit 1631b4d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
15 changes: 8 additions & 7 deletions README
@@ -1,14 +1,15 @@
Description
-----------

Node-redis-queue is a simple Redis based message queue for communicating between multiple platforms.
Node-RQueue is a simple Redis based message queue for communicating between multiple platforms.

It uses a easy to implement message paradigm within Redis lists.

An example message:

{
id: 1,
payload: 'Some data',
id: UUID,
payload: 'JSON DATA',
errors: ['HTTP 404'],
error_count: 1
}
Expand All @@ -20,8 +21,8 @@ Usage

queue-server.js:

// Require the node-redis-queue
var client = require('./node-redis-queue');
// Require the node-rqueue
var client = require('./node-rqueue');

// Create the Queue with a redis server listening on localhost:6379
var user_queue = new client.Queue({
Expand All @@ -39,8 +40,8 @@ user_queue.push('Any JSON.strinify-able data goes in this parameter', function (

queue-worker.js:

// Require the node-redis-queue
var client = require('./node-redis-queue');
// Require the node-rqueue
var client = require('./node-rqueue');

// Create a worker for each queue.
var worker = client.createWorker({
Expand Down
7 changes: 4 additions & 3 deletions package.json
@@ -1,8 +1,9 @@
{
"name": "redis-queue",
"description": "A simple message queue backed by Redis.",
"name": "rqueue",
"description": "A node.js implementation of RQueue, includes Worker and Queue ",
"version": "0.1.2",
"author": "Tim Smart",
"author": "Tim Smart <tim@votizen.com>",
"contributors": ["Micheil Smith <micheil@votizen.com>"],
"engine": [ "node >=0.3.6" ],
"main": "./",
"dependencies": {
Expand Down

0 comments on commit 1631b4d

Please sign in to comment.