Rails 5.0 has a new framework for handling WebSockets, dubbed Action Cable, which is a new integrated solution which includes an EventMachine-powered connection loop, a thread-backed channels layer for server-side processing, and a JavaScript layer for client-side interaction. According to the announcement, Action Cable runs in-process with the rest of a developer’s app. To do this, Rails has switched the default development server from WEBrick to Puma, and in production, Rails suggested running Action Cable servers in the developer’s own process, which is how Basecamp runs at scale. Continue reading this announcement here.