Switch branches/tags
Find file History
Pull request Compare This branch is 15 commits ahead, 10 commits behind 0.1.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
js
Readme.md
app.js
data.js
index.html
mix-balanced.js
mix-death.js
mix-lb80.js
mix.js
package.json

Readme.md

Stock Quote Stream powered by socket.io-announce, managed by mixture

Setup

Runs on Node.js v0.5.9+.

  • npm install

Managed mixed cluster

  • node mix [n] - manage all processes, creating a data stream and n socket.io apps. defaults to 4. try 80.

Fun with Mix Masters

  • node mix-death [n] - force the death of one of the socket.io processes
  • node mix-balanced [n] - add load balancing with bouncy to managed processes with 3 lines of code.
  • sudo node mix-lb80 [n] - run the load balancer on port 80.