ReMo
Save data from memory to disk for async/background/slow tasks.
Metrics
Standalone ReMo
Message must contain the 'action'. See attempt actions.
var remo = require('remo');
var message = {collection: 'mine',doc: {qty: 1},action: 'inc'};
remo.pool(message, function(err, res){ });
ReMo
Configure your queues and defaults:
"input" : "db:mongo:input"
"retry" : "db:mongo:retry"
"output" : "db:mongo:output"
"errors" : "db:mongo:errors"
"results": "db:mongo:results"
Learn ReMo
Follow the step by step guide for massive queries.
## Redis List Expected Message
var redis = require('redis');
var pub = redis.createClient();
var message = conf.defaults;
message.doc = {version: 1, module: 'readme'};
message.action = 'insert';
pub.rpush(['db:mongo:input', JSON.stringify(message)], function(){});
Code Quality
npm install gulp gulp-jshint -g; gulp;
npm install mocha -g; mocha;
make cov