TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why Rails 4 Live Streaming is a Big Deal

38 pointsby ninhalmost 13 years ago

8 comments

amixalmost 13 years ago
Rails is turning into a framework that includes everything, including the kitchen sink. Personally, I prefer to use the best tool for the job and node.js seems to be a much saner choice when doing realtime communication, since everything in node.js is non-blocking. There are so many ways to shoot yourself in the foot if you develop large realtime systems in Ruby (or any other language that includes a lot of blocking libraries).
评论 #4334477 未加载
评论 #4334519 未加载
评论 #4334905 未加载
评论 #4334397 未加载
评论 #4334427 未加载
评论 #4334405 未加载
评论 #4334666 未加载
评论 #4334631 未加载
评论 #4334658 未加载
alexyoungalmost 13 years ago
"Can Rails compete with Node.js?"<p>For the perplexed: Node isn't a web framework.
评论 #4334410 未加载
评论 #4334661 未加载
评论 #4334625 未加载
basculealmost 13 years ago
"Cons: If a thread crashes, the entire process goes down."<p>I wrote this thing called Celluloid and I can assure you this isn't true. Ruby has "abort_on_exception" for threads, but the default is most assuredly false.<p>"Good luck debugging concurrency bugs."<p>Good luck debugging concurrency bugs in a callback-driven system!
评论 #4334759 未加载
edwinnathanielalmost 13 years ago
It's becoming more like... <i>GASP</i> JavaEE <i>GASP</i>
评论 #4334670 未加载
评论 #4334668 未加载
aoealmost 13 years ago
So these changes won't be available in the free version of Phusion Passenger 4?
parfealmost 13 years ago
&#62;<i>Several days ago Rails introduced Live Streaming: the ability to send partial responses to the client immediately.</i><p>Would this be analogous to what PHP does if you being writing a response without output buffering?
评论 #4334375 未加载
why-elalmost 13 years ago
Pardon the ignorance, but can't this be achieved by simple Ajax requests provided by any of the js frameworks? How is this better?
评论 #4334402 未加载
sergiotapiaalmost 13 years ago
Is this any different than what SignalR provides for ASP.Net Web Applications?
评论 #4334542 未加载