Websockets zeromq proxying
github.com
github.com
Mongrel2: http://www.mongrel2.org
I think it may be solving problems which just aren't big enough for most people to warrant the switch in their technology stack. HTTP proxying and text config files work "good enough". Maybe everyone else is like me, and waiting for feedback from some big deployments in order to see how it all works in practice.
The problem is it doesn't have enough "marketing" behind it, for many reasons: it's not dead easy to setup yet, it doesn't use a language du jour like Javascript, it's not related to Rails...
One way to make this a bit less of a nightmare is to give the addresses via a server name, and have the proxy map that to an address. That way, the Javascript code can only access specific services known by the proxy.
The web server could validate the subscription before establishing the connection. That would be a little easier for setting up control over who has access to what resources. I suppose you could do this with REQ/REP but PUB/SUB would simplify the server side implementation.
For my current project I'm using PUSH/PULL with filtering at the server because it was fewer connections to deal with between the web server and zeromq router. PUB/SUB directly between the router and end user client could potentially cut down on bandwidth for a large implementation.
In its current state, people who connect as a SUB socket have the option of passing in a msgfilter in their authentication data, the rationale being that you might only want to authenticate certain users to listen to certain types of messages.