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.

How LinkedIn used Node.js and HTML5 to build a better, faster app

159 pointsby jc123almost 14 years ago

11 comments

cygwin98almost 14 years ago
<i>One reason was scale... The improvements the team saw were staggering. They went from running 15 servers with 15 instances (virtual servers) on each physical machine, to just four instances that can handle double the traffic. The capacity estimate is based on load testing the team has done.</i><p>Though Rails is not known of being high performance, this sentence rings a warning sign in my mind that something must be terribly wrong with their Rails implementation.
评论 #2892542 未加载
评论 #2891612 未加载
jinushaunalmost 14 years ago
"One reason was scale... The improvements the team saw were staggering. They went from running 15 servers with 15 instances (virtual servers) on each physical machine, to just four instances that can handle double the traffic. The capacity estimate is based on load testing the team has done."<p>Nice to see an example of Node in the wild. It's so fun and easy to develop in Node, that it sometimes feels like a toy.
评论 #2891347 未加载
akavliealmost 14 years ago
"Also, the development time was unusually fast."<p>That's surprising -- my impression has been that one tradeoff with Node.js vs. frameworks like Rails &#38; Django is a lot more work to implement functionality they ship with out of the box -- it works at a much lower level.<p>It also tends to be slower going for a while as you get accustomed to the non-procedural approach.
评论 #2892780 未加载
riprockalmost 14 years ago
I'm confused -- isn't Node.js's ruby equivalent EventMachine? Why are they comparing Node.js, an asynchronous I/O library, with a MVC web framework? I don't think this is a fair comparison unless they tell us the MVC framework their Node.js is using, and the server stack their Rails app was using.
评论 #2892785 未加载
评论 #2892254 未加载
badmash69almost 14 years ago
I've often thought of doing a high volume messaging project with Node.js but I seem to be addicted to jBoss Netty.
评论 #2891622 未加载
评论 #2891310 未加载
kennystonealmost 14 years ago
I wonder why they used Node instead of EventMachine, given all the ruby code they already had.
评论 #2892840 未加载
jscheelalmost 14 years ago
This is pretty cool to see that LinkedIn used node.js for their mobile interface for pretty much the exact same reasons I used node for the last mobile interface I built. To echo the article's sentiment, node works really well when you are interfacing with a bunch of other services.
评论 #2891343 未加载
badmash69almost 14 years ago
I would be interested in hearing how LinkedIn gets around Node.js issues .For example<p>Isn't Node.js single threaded ? Would it not under-perform , say compared to Erlang or Netty, in a multi-core CPU.
评论 #2891562 未加载
评论 #2891538 未加载
neovivealmost 14 years ago
Could someone explain the following: "Connections are all stored locally, also for speed and so if you’re offline, you can still access them."? I'm confused as to how a connection to a remote resource can be accessed offline. Is all of the data cached locally? Further down they mention "We don’t use the browser’s caching system" so I'm assuming they have custom built the cache.
评论 #2891727 未加载
评论 #2891812 未加载
rufugeealmost 14 years ago
I'd love to see someone put together a guide to Node and the current javascript world for the Rails developer. I've looked at Node a few times, but it's so much lower-level than Rails...I'd think it would be more valid to compare it to Rack. What about the other components of a Rails app? What should you use as an ORM? What about views? What about routing? Etc, etc.
评论 #2892770 未加载
laconianalmost 14 years ago
Wow, that's some awful performance from their Ruby solution. Is synchronous code the norm in many shops?
评论 #2892585 未加载