a message bus for http requests and responses. hanging off the bus are webapps and http listeners. routing table is modified at runtime. the start script for apps and listeners are part of the configuration (services endure, like node's forever)
- Bus = nanomsg
- Webapp: Rails, Node, etc (anything with a nanomsg lib)
- HTTP Listener: nginx module
- Distributed routing config with coreos/etcd
An Android project needs to post registration data to a node.js server. The server is written and listens on localhost:1234. The web front end is nginx. I need an easy way to get this script started and have nginx pass traffic to it from http://server/androidcloud.
$ swmb route add /androidcloud localhost:1234