MongoDB brain for Hubot. Support MongoLab and MongoHQ on Heroku.
Hubot's default redis-brain
saves all data into one large blob (It's not using Redis as KVS) and write it every 20 seconds. So it exceeds maxmemory
of Redis.
- mongodb
- coffee-script 1.9+
% npm install hubot-mongodb-brain -save
% npm install coffee-script@">=1.9" -save
[ "hubot-mongodb-brain" ]
% heroku addons:create mongolab
% export HUBOT_LOG_LEVEL=debug
% npm install
% npm test