RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Hijacking Rack to add Websockets to Rails 4

As Rails 4 is full concurrent, there’s no full-stack lock on a request. You can use threads to hold websocket connections open without bogging down the server. Nick Gauthier wrote about this approach in this article: http://blog.codeship.com/websockets-in-rails-4/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in