First: this is not a Java-vs.-AnyOtherLanguage diss, just an article about a very interesting development: Using “frontend-languages” for serious server-side development (and client-side for sure) and even as a replacement for classic servers like Apache/NGINX/etc.
The results are dramatic:
- Double the requests per second vs. the Java application. (using a single core for the node.js application compared to five cores in Java)
- 35% decrease in the average response time for the same page
- Built almost twice as fast with fewer people
- Written in 33% fewer lines of code
- Constructed with 40% fewer files
Statement from CTO:
This is (afaik) the first time such a huge app/company has been rebuilt on node.js, and it shows that the still-in-alpha-state node.js obviously can handle extremely professional stuff. A lot of other (much smaller) applications have also been built and grown very sucessfully with node.js/js. It might be useful to have an eye on that development, this might be the future for high-traffic applications.
The official statement from PayPal’s engineering blog:
Leave A Comment