Skip to content

Commit

Permalink
Use consolidation statement to replace motivation section
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Oct 27, 2015
1 parent 12382b0 commit 65c4afc
Showing 1 changed file with 5 additions and 29 deletions.
34 changes: 5 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -804,29 +804,15 @@ You can set the `DEBUG` env to `ioredis:*` to print debug info:
$ DEBUG=ioredis:* node app.js
```

# Motivation

Originally, we used the Redis client [node_redis](https://github.com/mranney/node_redis),
but over a period of time we found that it's not robust enough for us to use
in our production environment. The library has some non-trivial bugs and many unresolved
issues on GitHub (165 so far). For instance:
# Consolidation: It's time for ceberation

```javascript
var redis = require('redis');
var client = redis.createClient();
Right now there are two great redis clients around and both have some advantages above each other. We speak about [node_redis](https://github.com/NodeRedis/node_redis) and ioredis. So after talking to each other about how we could improve in working together we (that is [@BridgeAR](https://github.com/BridgeAR) and [@luin](https://github.com/luin)) decided to work towards a single library on the long run. But step by step.

client.set('foo', 'message');
client.set('bar', 'Hello world');
client.mget('foo', 'bar');
First of all, we want to split small parts of our libraries into others so that we're both able to use the same code. Those libraries are going to be maintained under the NodeRedis organization. This is going to reduce the maintance overhead, allows others to use the very same code, if they need it and it's way easyer for others to contribute to both libraries.

client.subscribe('channel');
client.on('message', function (msg) {
// Will print "Hello world", although no `publish` is invoked.
console.log('received ', msg);
});
```
We're very happy about this step towards working together as we both want to give you the best redis experience possible.

I submitted some pull requests, but sadly, none of them have been merged, so here's ioredis.
If you want to join our cause by help maintaining something, please don't hesitate to contact either one of us.

# Join in!

Expand All @@ -848,13 +834,3 @@ The JavaScript and hiredis parsers are modified from [node_redis](https://github
# License

MIT

# Consolidation: It's time for ceberation

Right now there are two great redis clients around and both have some advantages above each other. We speak about [node_redis](https://github.com/NodeRedis/node_redis) and ioredis. So after talking to each other about how we could improve in working together we (that is [@BridgeAR](https://github.com/BridgeAR) and [@luin](https://github.com/luin)) decided to work towards a single library on the long run. But step by step.

First of all, we want to split small parts of our libraries into others so that we're both able to use the same code. Those libraries are going to be maintained under the NodeRedis organization. This is going to reduce the maintance overhead, allows others to use the very same code, if they need it and it's way easyer for others to contribute to both libraries.

We're very happy about this step towards working together as we both want to give you the best redis experience possible.

If you want to join our cause by help maintaining something, please don't hesitate to contact either one of us.

0 comments on commit 65c4afc

Please sign in to comment.