couch2redis
v1.0.4
Published
A listener that listens to couch db events and updates a redis key associated with a sortedset
Downloads
4
Maintainers
Readme
#Rediswalker
##Overview:
##What the structure should look like:
redisKey: {
obj1: unix_epoch_timestamp,
obj2: unix_epoch_timestamp,
...
objn: unix_epoch_timestamp
}
The redisKey
in this key should be associated with a redis sorted set.
##How to use it:
- Create a new instance of this walker with the appropriate params
var walker = new Walker(couchUrl, sortedSetKey);
Daemonize the process, so it runs forever in the background
Done!