Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
license and other stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kessler committed Jan 23, 2013
1 parent 1b03c41 commit 2ed25de
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 3 deletions.
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2013 Yaniv Kessler

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
RedisCluster
============

NOTICE: This project is still super alpha!

A redis cluster with pluggable redis client factory and key mapper / load balancer.

The execMany function requires that the key mapper will be consistent (i.e it should know
in which server a key resides)

### install
```
npm install redis-cluster
```

### default: hash ring based redis cluster
```
var RedisCluster = require('redis-cluster');
Expand Down
1 change: 1 addition & 0 deletions lib/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
localsession.js
1 change: 1 addition & 0 deletions lib/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
localsession.js
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
exports.RedisCluster = require('./RedisCluster');
exports.RedisClusterQuery = require('./RedisClusterQuery');
exports.cli = require('./cluster-cli');
20 changes: 18 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
{
"name": "redis-cluster",
"version": "0.0.1",
"description": "a hashring based redis cluster",
"version": "0.0.8",
"description": "a redis cluster",
"main": "lib/index.js",
"author": {
"name": "Yaniv Kessler"
},
"repository": {
"type": "git",
"url": "http://github.com/yanush/redis-cluster.git"
},
"bugs": {
"url": "http://github.com/yanush/redis-cluster/issues"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/yanush/redis-cluster/raw/master/LICENSE"
}
],
"dependencies": {
"async": "*",
"redis": "*",
Expand Down

0 comments on commit 2ed25de

Please sign in to comment.