nodejitsu/haibu — pull request #70 by dominictarr (2011-10-11 06:24:07+00:00)
Title: add streaming logs via little-big-events

this adds streaming logs via redis pubsub.

start haibu,

then in redis-cli

PSUBSCRIBE *

you will get a stream of all haibu events.
by refactoring the haibu messages to a form like user:app:xxx:yyy
then it will be easy to add user logs, but it will also be easy to add user logs by enabling a
stream/socket.io interface to the events.

also, we will be able to make a nodejitsu dashboard that we can easily monitor any app or collection of apps, or haibus, etc. to montior our cluster -- and measure user engagement.

I've done it this way, because it's simple, and also leaves the door open to sending events the other way.

here is a draft of what the http interface will look like: https://gist.github.com/b982afbbe66d67687be6