3 ms·
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 w
by jeltz 14y ago
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.
- masklinn 14y ago> 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/53e299724b9173efe50e9afc372c1cb7ca02c40f https://github.com/rack/rack/commit/53e299724b9173efe50e9afc...
- jeltz 14y agoYeah, 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.