example visualization (SparkFun MySQL queries/sec)
example visualization (SparkFun nginx/memcached/mysql)
+--------+ +--------+ +--------+
| php | | ruby | | syslog | <-- event sources
+--------+ +--------+ +--------+
\ | /
\ | /
\ | /
\ | /
+--------------------+
| blode server | <-- event listener/broadcaster
+--------------------+
|
/ \
/ \
/ \
/ \
/ \
+---------+ +----------+
| browser | | database | <-- event stream clients
+---------+ +----------+
Events are pushed from any source via tcp/udp/http to the blode listener. Any event received by blode is then pushed out to any listening clients. Clients can obverve the broadcast via a websocket, tcp, or udp connection.
node.js >= 0.4.12
npm curl http://npmjs.org/install.sh | sudo sh
git clone git://github.com/benlemasurier/blode.git
cd blode
sudo npm install socket.io
$ nohup NODE_ENV=production node blode.js &
$ cd test
$ ./ping
# (from another terminal)
$ cd ~/blode/test
$ ./example_netcat_client.sh