What is Node.js?
Do you want to know which of the popular names recognized Node’s concurrency, speed and intensive data exchange opportunities? Read on.
A company that doesn’t have to be introduced. In this case, Node.js usage is of greater importance than in other cases. The NASA application is focused on keeping astronauts safe during their space expeditions. After an accident in which one of the astronauts nearly lost his life, NASA faced a challenge of moving all data of EVA spacesuits to a single cloud database. They adapted Node.js which helped to decrease the number of procedural steps from 28 to 7!
“The system he is creating uses a microservices architecture with separate APIs and applications built in Node.js to move data related to the EVA spacesuits from three separate legacy databases to a cloud database. Now users can query that one database for everything, reducing the time to access a comprehensive set of data by about 300 percent.”
Node.js Foundation case study
- single database
- the access timelines reduced by 300%
- less procedural steps
With over 130 million subscribers from all around the world, this biggest streaming media and VOD provider switched their backend from Java to Node.js. They needed a scalable solution that would be able to handle both 1 billion hours of weekly video streaming and all the requests. Leveraging a fast and lightweight platform like Node.js allowed Netflix to reduce startup time by 70%.
- shorter built time
- lighter, faster and more modular application
In 2013, PayPal decided to migrate from Java to Node.js. This resulted in 200ms faster page response time and double the number of requests that can be handled per second. Since the development teams were once divided into those who wrote browser-specific code and those who write app layer-specific code, Node.js was an ideal solution. It brought the much-needed cohesiveness and resolved issues at both ends.
Jeff Harrell, Senior Director of Payments Products and Engineering at PayPal
- the average response time reduced by 35%
- the serving of pages increased to 200ms
- 30% less code and 40% reduction in lines
Uber is the world’s famous platform connecting cab drivers to their customers. Their app was engineered utilizing some of Node.js tools and programming languages. Although they’re constantly introducing new technologies, Node.js remains their base as it allows fast scaling. Worth adding is that Uber was one of the first companies that utilized Node.js.
“One of the things that make Node.js uniquely suited to running in production is that you can inspect and change a program without restarting it. So very few other languages offer that capability. Not a lot of people seem to know that ability exists, but indeed you can inspect and even change your program while it’s running without restarting it.”
Matt Ranney, Senior Staff Engineer at Uber
- great processing power
- gained an open-source community
A platform serving over 63 million users in 2011 decided to make a switch from Ruby on Rails to Node.js. By doing so, developers were able to move from synchronous to asynchronous even system. This resulted in a boost in performance and scalability.
“We use a ton of technologies at LinkedIn, but for the mobile server piece, it’s entirely Node-based. One reason was scale. The second is, if you look at Node, the thing it’s best at doing is talking to other services. The mobile app has to talk to our platform API and database. We’re not doing massive data analytics. Node showed us huge performance gains compared to what we were using before, which was Ruby on Rails.”
Kiran Prasad, VP of Product at Linkedin
- reducing the number of servers from 15 to 4
- double the traffic capacity
- app working 2-10 times faster
Yahoo started utilizing Node.js less than a year after Node’s initial release in 2009. In 2016 Yahoo became a part of Node.js Foundation. Ever since a lot of Yahoo’s new products are SPAs or sites using Node.js. Yahoo’s blog confirms that 75% of its web applications are Node-powered.
“Initially, we used it for performing simple backend tasks like file upload. Since then, Node.js has become one of the top programming languages for developing new front-end applications at Yahoo.”
- increase in performance
Here I’m also linking a presentation by Eric Ferraiuolo, Principal Software Engineer, about Node.js at Yahoo.
A project management tool used by over 25 million people worldwide and Selleo is one of them. Trello uses Node.js for its server-side and as a prototyping tool for building single-page applications.
“The server side was built with Node.js. Node.js was helpful when the company was templating a tool for a one-page application. By the time the company had finished the prototype, they decided to stick with Node also at the server side of the application.”
- event-driven, non-blocking server
- ability to hold many open connections for instant updates
eBay needed to have a real-time application to maintain live connections with the server together with a great solution that could handle a huge number of eBay-specific services. Among many features of Node.js they mention: performance, scalability, speed, simplicity, full control and feeling of transparency.
"Now we had our Node.js web service running in various stable environments. This whole deployment setup was quicker and simpler than we had expected. We had two primary requirements for the project. The first was to make the application as real-time as possible–i.e., maintain live connections with the server. The second was to orchestrate a huge number of eBay-specific services that display information on the page–i.e., handle I/O-bound operations."
- faster and more reliable application
- single threading
- transparent processes
With Ruby on Rails, Java and PHP getting harder to maintain, Groupon decided to rebuild their web layer on Node.js. Their year-long moving project has become one of the largest production deployments of Node.js.
“Here at Groupon we believe that open collaboration is what leads to real innovation in the technology community. As I quoted in the press release Node.js infrastructure has been extremely important to us and is core to our platform.”
Sri Viswanath, CTO and senior vice president of engineering at Groupon
- 50% faster platform
- more stability and capability to handle big amounts of traffic
- smooth and flexible
With a $481.32 billion global net sales in 2017, Walmart decided to use Node.js despite it being a young technology. They redeveloped their mobile app to provide advanced features to customers. Node’s famous asynchronous I/O brought great effects, excellent UI and security.
- new plugins and NPM packages
- precise results
- capable of using SmartOS
If you want to learn more about it, watch this talk by Alex Grigoryan.
Node.js is the way forward, so if you’re looking to outsource Node.js development, feel free to contact us!