Comment

Comment by masklinn

> First of all, there aren't really any decent solutions for the problem in Ruby.

Uh? Rack has supported streaming since the beginning, and Sinatra has had special support on top of that since 1.3.

> Secondly, even if there were mature Ruby equivalents to Node.js

http://rubyeventmachine.com/

> I can still see a lot of benefit to doing this in Rails.

Don't dismiss the drawbacks. Such as self-DOS-ing. Your Rails application can only have as many clients total as you have workers if they all keep a permanent connection.

parent masklinn 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton