Rails. Processing SSE connections without blocking server threads using Rack Hijacking API

Using Server-Sent Events (SSE) technology for establishing a persistent connection between a Rails application and a client. Using Rack Hijacking API to take over the connections and free the application’s web server threads in order to handle more connections using fewer server threads.
Read more