JavaScript Usage By Linkedin

Everyone knows most of the applications ,websites are created by using JavaScript for validation,backend,etc. to manage the webpages and control them as well.This usage is used widely in industries.JavaScript plays an important role in industries so it is important to learn JavaScript and its frameworks.

What is JavaScript?

JavaScript is a cross-platform, object-oriented scripting language used toofe make webpages interactive. There are also more advanced server side versions of JavaScript such as Node.js, which allow you to add more functionality to a website than downloading files. JavaScript contains a standard library of objects, such as Array, Date and Math and a core set of language elements such as operators, control structures, and statements.

How Linkedin uses JavaScript?

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. A complete LinkedIn profile can help you connect with opportunities by showcasing your unique professional story through experience, skills, and education. You can also use LinkedIn to organize offline events, join groups, write articles, post photos and videos, and more.

When the company sought to release an improved mobile application in 2012, they turned to JavaScript for both the front-end and back-end. By using a combination of HTML and native JavaScript code, LinkedIn’s development team was able to create a well-crafted application with a stunning user interface.

JavaScript made a major impact on LinkedIn’s mobile application performance as well. Ars Technica performed an in-depth analysis of LinkedIn’s mobile app development in 2012. The website noted that Node.js improved the application’s functionality in a number of ways.

Node.js increased performance and memory usage in comparison to Ruby on the Rails. In fact, the application ran 20 times faster in some cases. Even more surprising, overall mobile usage increased by 23% once the new app was released.

The development team also benefited from the switch to JavaScript. Front-end and back-end development could now be performed by a single group. This saved the company money, improved consistency, and enabled the company to cut the number of servers from 30 to 3.

LinkedIn’s mobile development lead Kiran Prasad told about use of Node in LinkedIn is -> “ 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.”

The improvements the team saw were staggering. They went from running 15 servers with 15 instances (virtual servers) on each physical machine, to just four instances that can handle double the traffic. The capacity estimate is based on load testing the team has done.

Advantages Of JavaScript

The merits of using JavaScript are −

  • Less server interaction − You can validate user input before sending the page off to the server. This saves server traffic, which means less load on your server.
  • Immediate feedback to the visitors − They don’t have to wait for a page reload to see if they have forgotten to enter something.
  • Increased interactivity − You can create interfaces that react when the user hovers over them with a mouse or activates them via the keyboard.
  • Richer interfaces − You can use JavaScript to include such items as drag-and-drop components and sliders to give a Rich Interface to your site visitors.

Disadvantages Of JavaScript

  1. Client-Side Security - Because the code executes on the users’ computer, in some cases it can be exploited for malicious purposes. This is one reason some people choose to disable JavaScript.
  2. Browser Support- JavaScript is sometimes interpreted differently by different browsers.

Thank You…

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to compare _anything_ to Angular and AngularJS

How to Run a NodeJS Web Server on a Raspberry Pi for Development

Architecting Accelerated Mobile pages

3 Important JavaScript Topics That You Have To Know About

Why I hate ngrx Effects in Angular?

Hoisting & TDZ (Temporal Dead Zone) in JavaScript

React v17.0 ⚛️ : Long Story Short (in 4 mins)

React v17.0 key features

The Return of SharedArrayBuffers and Atomics

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhinandan Nahar

Abhinandan Nahar

More from Medium

Basic points of JavaScript

JavaScript Fundamentals

Coding principles and JavaScript

Devslopes: Main Function of Javascript