ActionCable is coming to Rails 5 and brings with it the promise of using WebSockets directly in Rails. Ruby has a notoriously bad concurrency story, and that certainly extends into the realm of WebSockets and pubsub. ActionCable may be suitable for a small number of authenticated sessions, but scaling persistent connections to thousands or tens-of-thousands won't be easy. That's all right, the bea
