Just found a great article by Jeff Harrell on how Node.js is being used and implemented at PayPal.
“Like many others, we slipped node.js in the door as a prototyping platform. Also like many others, it proved extremely proficient and we decided to give it a go on production.”
Some companies might start with a small test application, or something non-mission-critical. Not PayPal. They went big, deciding to use node.js to implement their account overview page, one of the most heavily trafficked apps on the site.
But they also mitigated that risk by building the equivalent Java application in parallel. If anything went wrong with the node.js app, PayPal engineers could simply fall back to the Java version.
Not many companies could afford the dual development effort. But doing so provided the setting for obtaining some interesting data.
In short, the node.js app was:
- Built almost twice as fast with fewer people.
- Written in 33% fewer lines of code.
- Constructed with 40% fewer files.
- Handled double the requests per second vs. the Java application.
- Provided a 35% decrease in the average response time for the same page.
The bottom line?
“All of our consumer facing web applications going forward will be built on node.js.”
Original article is here: