How LinkedIN uses Node.js???

Ayush Parmar
5 min readJun 22, 2021

--

What is LinkedIN??

Everyone here should already know what LinkedIN is, but let’s go through the concept once more. LinkedIn is the world’s largest professional network on the internet. You can use LinkedIn to find the right job or internship, connect and strengthen professional relationships, and learn the skills you need to succeed in your career. You can access LinkedIn from a desktop, LinkedIn mobile app, mobile web experience, or the LinkedIn Lite Android mobile app.

What is node.js??

Node.js is a JavaScript runtime environment. Sounds great, but what does that mean? How does that work?

The Node.js run-time environment includes everything you need to execute a program written in JavaScript.

Node.js came into existence when the original developers of JavaScript extended it from something you could only run in the browser to something you could run on your machine as a standalone application.

Now you can do much more with JavaScript than just making websites interactive.

JavaScript now has the capability to do things that other scripting languages like Python can do.

Both your browser JavaScript and Node.js run on the V8 JavaScript runtime engine. This engine takes your JavaScript code and converts it into a faster machine code. Machine code is low-level code which the computer can run without needing to first interpret it.

Why Node.js?

Here’s a formal definition as given on the official Node.js website:

Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.

Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.

Node.js’ package ecosystem, npm, is the largest ecosystem of open source libraries in the world.

We already discussed the first line of this definition: “Node.js® is a JavaScript runtime built on Chrome’s V8 JavaScript engine.” Now let’s understand the other two lines so we can find out why Node.js is so popular.

I/O refers to input/output. It can be anything ranging from reading/writing local files to making an HTTP request to an API.

I/O takes time and hence blocks other functions.

Consider a scenario where we request a backend database for the details of user1 and user2 and then print them on the screen/console. The response to this request takes time, but both of the user data requests can be carried out independently and at the same time.

How does it help LinkedIN??

Since the initial release of Node.js in 2009, this environment has definitely carved its niche in the enterprises. Business giants are using it for their websites and applications, and prove that the hype about Node.js is not a fluke. And, more and more companies are joining the league on their ways to top-notch products. Node.js is definitely winning a marathon now.

The Node.js Foundation’s mission is to enable widespread adoption and help accelerate development of Node.js and other related modules. Our open governance model encourages participation, technical contribution, and a framework for long-term stewardship by an ecosystem invested in Node.js’ success. The Foundation enables Node.js developers to participate in large-scale collaboration under agreed upon terms that no one company, person or entity can change or dictate. Node.js Foundation is a Collaborative Project at The Linux Foundation. Node.js is the fastest growing open source platform in the world used by 5 million developers. It is used for everything from web front and back end development to creating mobile, tablet, and desktop apps. It’s also being used with a whole new set of API services and even more complicated IoT devices.

Despite the fact that many consider LinkedIn as old-fashioned and outdated, it is still the most popular business-oriented social network and a convenient tool for successful employment. LinkedIn has 467 million users from over 200 countries. In 2016 Microsoft bought LinkedIn for $26 billion.

LinkedIn decided to replace their synchronous Ruby on Rails mobile app, in which clients used to make several calls for a single page, with an asynchronous evented system. Therefore, they made up their mind on Node.js due to its scalability and performance efficiency. And, Node.js satisfied their expectations.

Benefits of Node.js for LinkedIn:

  • 10x reduction in the number of machines for service hosting
  • Servers cut from 30 to 3
  • Doubled traffic capacity
  • Much better performance and lowered memory overhead
  • New mobile app is up to 20x faster in some scenarios
  • Front-end and back-end mobile teams combined into a single unit
  • Enough headroom remains to handle 10x current levels of resource utilization.

Some other networks which use node.js!!!

  • Microsoft.
  • PayPal.
  • Netflix.
  • Groupon.
  • Uber.
  • Facebook.
  • Google.
  • eBay.

The examples mentioned above are only the tip of the iceberg of all companies that embraced Node.js in their production. There are many more big players using Node.js, e.g. Yahoo, Mozilla or Github. Technology creates countless possibilities in development, and we’re looking forward to seeing more and more up-and-coming Node.js-based apps conquer the market.

Thank you for your time!!!!!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response