Today we will see the Introduction to Nodejs and we will learn Node JS.
NodeJS is one of my favourite topics, Also it is a very demanding and hot topic in the market of technology.
On May 27, 2009, was the initial release of the Node JS, and after more than 10 years ago has it’s stable version 13.1.
It is an Open Source and cross-platform Application means that it can be run on various platforms like Linux, Windows, Mac and many other Operating System like this.
Because it’s Highly Scalable and can handle more requests than any other programing language.
The biggest giant Industries like Walmart, PayPal, Netflix, etc. using Node JS.
Then in 2010, they got their Node Package manager (NPM), which is one of the largest package registries in today’s world.
Also for Developers, it is very simple that they have to learn only one language for the frontend as well as backend.
Node js has the file extension .js like java has the extension .java and PHP language has the extension .php
So let’s discuss the Engine and the Runtime Environment.
V8 Engine: So when the code runs it slipt down into the pieces and convert that code into the runnable command, it converts the code into the machine language.
Now there are many Engines which converts the code into the Machine language
As we know the NodeJS is a Single-threaded Application, but process all the requests in a loop also called as an event loop.
Now let’s discuss what is the event loop?
The event loop allows the NodeJS to perform the non-blocking I/O operation and when the process is completed then it calls the callback function.
It will not wait for the previous statement to execute, it will move on to a new statement which is also known as ASync Process.
So now we will look into the Installation of NodeJS just click on the reference link for the detail installation guide.
And the last we will look how to maintain the logs via PM2 logrotate.
Thank you So Much guys for your valuable time!
Help me to improve the knowledge of the reader and my Team.
learn and understand nodejs, node js, learn node js, introduction to nodejs