From underground to enterprise – story of the Node JS
In around 2015 Netflix start switching architecture to Node.js. That step allows Netflix to streamline the development. Let’s check why big companies and developers from around the world love Node JS.
At the beginning Node JS was easy solution created in “underground” to solve some devs problems. Mostly as temporary solution or kind of patch than full-fledged programming language. Nowadays Node JS is using by top IT companies like Google, Microsoft, Amazon or Netflix.
Node JS – the beginning
Before we start the story about positive aspects of Node JS, we should came to the 2009 – the times, when Node JS was written by Ryan Dahl. Dahl was inspired to create Node.js by… progress bar on Flickr.
While he was uploading a file, he couldn’t see the progress because the browser did not know how much of the file had been uploaded and had to query the Web server. This common problem inspired Ryan to find easier, faster and literally better solution, which could be used by developers in similar cases.
From underground to enterprise – why Node JS is so popular?
In the world of Node.js there is a lot of frameworks. Some of them have already strong popularity. Some of them still waiting for discover by wide audience. We think there are two biggest players: Express.js and Socket.io
Socket.io is a server framework for building real-time web applications. It allows communication between clients and server. It works as a client-side library running in the browser and server-side as library for Node.js. Socket.io allows real-time communication, it means ability to build application like live customer-support chats, or binary streaming processing (like video-chats).2
Express.js is one of the web framework – minimalist and designed mainly for building web &mobile applications and API applications. It offers features like template engines, routing and some database integrations. It used to build some more advanced frameworks – for example KeystoneJS – CMS & Web Application Platform.
Node.js is also provided for Linux ARM devices (like ARMv6, 7 and 8), so technically there is a possibility to using Node.js on the IoT devices. For example that device can be Intel Edison Development Board or anyone else what have linux on-board.
Node JS – loved by giants
Today many big companies using Node.js – like GoDaddy, Grupon, Netflix, Amazon, Google or Microsoft. In around 2015 Netflix start switching architecture to Node.js. That step allows Netflix to streamline the development and to migrate from monolithic architecture to microservice (or service-based) architecture. The most important changes what was provided by switching to Node.js is better performance what allows reduce costs of architecture, and development all applications.
On Amazon we can find that Node.js is available for development Lambda functions. Lambda is a cloud service provides serverless architecture. Similar functions have been lately provided by Google Cloud services.
Written by: Piotr Pawlak & Justyna Kot
Let's work together.
Are you ready to build the future together?ESTIMATE PROJECT