News for hackers. Stuff that matters.
Re:Existential crisis at Railsconf by dgregd on Wednesday April 22, 2015 @09:08AM (#9420080)
Nginx HTTP Push Module seems to much better solution than EventMachine. So Nginx keeps opened sockets and a Rails app sends messages via ordinary HTTP.

http://wiki.nginx.org/HttpPushStreamModule

Re:Existential crisis at Railsconf by moe on Wednesday April 22, 2015 @12:35PM (#9421611)
Agree, very much.

I'm also wary of handling websockets from Ruby, which is demonstrably ill suited for any kind of high concurrency networking (been there, got the t-shirt).

Since most people already run nginx in their stack anyway I don't see the advantage of sticking with a Ruby-based solution that is almost guaranteed to be inferior on every metric.