Another option that might meet your needs but is slightly more esoteric is to go with one of the Jruby appservers and use one of the Java websockets implementations. Jetty (the base for the Trinidad) is known to have the best websockets support available. Another option (which is pretty cool) is to use a messaging server with websocket wrappers for message endpoints. As an example, Torquebox (a dedicated Jruby/Rails appserver) has built-in support for HornetMQ, which in turn has support for websockets.