Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Procfile
README.md
proc1.js
proc2.js
routes.json

README.md

Multi-Process Example

Run the example using node-foreman with nf start.

Procfile
lib.js
proc1.js    <-- first process
proc2.js    <-- second process 
routes.json <-- routes file

The routes file uses exact-matches for this example, but a match can be any regular expression. The last routes all un-matched messages back to the local set of actors.

{
  "regex"   : ".*",
  "address" : "/"
}