NOTE: The article gives you a deep insight of Why has PayPal switched to Node.js and How Node.js Framework is Empowering PayPal.
So, here we bring you the experience of Jeff Harrell (Director of Engineering and Chief Architect at PayPal) while migrating PayPal to Node.js:
Why has PayPal switched to Node.js from Java?
BROWSER & SERVER SIDE SCRIPTING WITH NODE.JS DEVELOPMENT FRAMEWORK
How Node.js Framework is Empowering PayPal
1) EXPERIMENT 1: EMPLOYING NODE.JS DEVELOPMENT
Convinced by the perks of Node.js Development, Jeff Harrell employed the framework for PayPal’s account overview page and a major high-traffic application on the PayPal website. With this, he mitigated the risk of loss of investment by employing a parallel application development process using Java. This experiment of parallel application development on Node.js and Java also allowed them to draw a comparison between the two platforms.
Rapid Development Process With Node.js Development Framework
PayPal started their experiment in January 2013 and it took the company a few months to develop the required infrastructure for employing Node.js application development, that included – sessions, keystores, centralized logging, etc. Meanwhile, five Java developers started working on the Java application. Over 2 months in Java application development, a small team of Node.js developers started working on the similar Node.js application.
As according to Jeff Harrell’s expectations, the development stages met at a crossroads in the first week of June, both the Java and Node.js version of the PayPal application by now had the same functionalities, even though the Node.js development process was started at a delay of two months and with a smaller team.
|IMPORTANT OBSERVATIONS OF THE DEVELOPMENT PROCESS|
|The Node.js Application was built twice as fast with more than half the number of resourcesas compared to the Java Application.|
|The Node.js Application was written in 33% Fewer Lines of Code as compared to the Java version of the app.|
|The Node.js version of the App was constructed with 40% fewer file as compared to the Java Application.|
Witnessing these observations PayPal decided to go with Node.js web application development and owing to the easy adaptability of the Node.js framework they were happy to enhance their productivity by moving their Java resources to Node.js development.
2) Experiment 2: Performance Test of Node.js Application
To witness the performance statistics of Node.js applications, PayPal conducted an experiment to compare the performance capabilities of Java and Node.js based Apps.
High-Performance Capabilities of Node.js Web Applications
PayPal used two applications with exactly the same set of functionalities and developed in-house by the same team. One application was built using Java, while the other was based on the Node.js framework.
The Performance Test was conducted using a production hardware that collected the data on Response Time and Throughput of the applications.
|IMPORTANT OBSERVATIONS OF THE PERFORMANCE TEST|
|Node.js Application witnessed more than double the requests per second as compared to the Java application.|
|Node.js App featured 35% lower response time as compared to the Java app.|
|Node.js pages were served 200ms faster than the Java based application.|
Impressed by the performance, rapid development, ubiquity, and high flexibility perks of the Node.js framework, PayPal has actively migrated to Node.js development. Almost all customer facing web applications of PayPal are now based on Node.js development framework and Jeff Harrell recommends Node.js for your web or app development requirements.
Node.js framework surely holds a great credit in PayPal’s success and is inevitably the best framework for your eCommerce website development goals or other high-performance B2C and B2B application development goals that need to be integrated with secure payment gateways.
So, if you wish to migrate your existing business websites or apps to dynamic Node.js web applications or mobile apps, or if you want to develop superlative Node.js business website or applications, our well-experienced Node.js developers at Endive Software would be delighted to help you.