TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why Rails 4 Live Streaming is a Big Deal

38 点作者 ninh将近 13 年前

8 条评论

amix将近 13 年前
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 未加载
alexyoung将近 13 年前
"Can Rails compete with Node.js?"<p>For the perplexed: Node isn't a web framework.
评论 #4334410 未加载
评论 #4334661 未加载
评论 #4334625 未加载
bascule将近 13 年前
"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 未加载
edwinnathaniel将近 13 年前
It's becoming more like... <i>GASP</i> JavaEE <i>GASP</i>
评论 #4334670 未加载
评论 #4334668 未加载
aoe将近 13 年前
So these changes won't be available in the free version of Phusion Passenger 4?
parfe将近 13 年前
&#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-el将近 13 年前
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 未加载
sergiotapia将近 13 年前
Is this any different than what SignalR provides for ASP.Net Web Applications?
评论 #4334542 未加载