Reactive Networks

A New Algorithmic Design Pattern Based on Biological Mechanisms

Created by Raul E. Jordan / @raulitojordan

Big Systems Have Big Problems

Large, modular systems usually rely on many components with complex links between them, and are considerably harder to manage once streams of real time information come into play.

How Do We Manage Real Time?

There are two options.


Streams...


							var http = require('http');
var qs = require('querystring');
var concat = require('concat-stream');

var server = http.createServer(function (req, res) {
	req.pipe(concat(function (body) {
		var params = qs.parse(body.toString());
		res.end(JSON.stringify(params) + '\n');
	}));
});
server.listen(5005);
						

...or Reactivity

To be Continued