Double Under
Double Under is a node.js utility that allows for shared objects between
different node processes and machines. It is backed by redis using a
pub/sub channel.
It is simple and fun to use.
var __ = require('double-under');
__.configure({
host: 'localhost'
});
var foo = __('foo');
foo.set('double', 'decker');
foo.double = 'under';
TODO
-
Add mutexes/semaphores or something to prevent race conditions.
-
Add atomic pop/push for arrays.
-
Allow atomic update of fields in sub objects.
-
Add expire option
-
Add a test suite.