News for hackers. Stuff that matters.
Re:Live Streaming in Rails 4.0 by jeltz on Monday July 30, 2012 @04:37PM (#4314547)
The lightweight framework Sinatra has had streaming for a some time now, and if it is not too heavy for Sinatra it should not be too heavy for rails. Rails is way larger than Sinatra.
Re:Live Streaming in Rails 4.0 by masklinn on Monday July 30, 2012 @04:55PM (#4314635)
> The lightweight framework Sinatra has had streaming for a some time now

Rack itself has response streaming support[0]. As a result, even before Sinatra 1.3 and the `stream` helper method you could stream responses in Sinatra.

[0] since pretty much forever ago: https://github.com/rack/rack/commit/53e299724b9173efe50e9afc...

Re:Live Streaming in Rails 4.0 by jeltz on Monday July 30, 2012 @05:21PM (#4314749)
Yeah, I have implemented streaming myself once for a rack app. It was rather simple to implement and has worked stably in production for over two years now.