python ruby-programming-language Smalltalk Vue.js Knockoutjs TypeScript JavaScript, OOPs JavaScript Angular 7, Interview Questions Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 8,7,6,5,4 and 2 Interview Questions and Answers Angular 4 Angular 2 AngularJs 1.x NodeJs Perl Programming R Programming RequireJs Rust Programming Backbonejs closure programming language go-programming-language kotlin-programming-language
what is node.js? why we use?

What is Node.js? Why we use it?

What is Node.js?

Node.js is an open source and it does provide the run-time environment for creating the server side applications and it's used to develop the real time server and networking applications.

Node.js written in JavaScript and the JavaScript code compile by V8 Google and then convert JavaScript code to machine code (native code) and it’s run on the Window, Linux and IBM etc.

Its support to the event driven architecture pattern and it handles I/O.
Node.js was originally written in 2009 by Ryan Dahl.

Features of Node.js
·        It is an asynchronous and event-driven system.
·        Single-threaded event-driven system
·        It is very lightweight and fast.
·        Tolling
·        Easy to configure
·        Node never buffering
·        It is highly scalable but single threaded.
·        Safe and secure.

Where to use Node.js?

The ability to handle the thousands of concurrent connections with single process and minimum overhead using the JavaScript developed the server applications and networking applications.

·        Single Page Applications
·        Streaming Data
·        A Real-time Applications like online games, collaboration tools and chat rooms etc.
·        I/O bound Applications
·        APIs based Applications
·        JSON based Applications
·        PROXY Applications

Where not to use Node.js?

·        Nested callback hell.
·        In Node.js, any CPU intensive computation will block the responsiveness.
·        Dealing with files can be a bit of a pain.
·        In Node.js, the relational database is a bit of a pain.
·        It's asynchronous programming model not for synchronous model.

Who uses it?

Google, IBM, LinkedIn, PayPal, Netflix, Groupon, Uber, GoDaddy etc.

I hope it might help you! Thank you!

Hi there! Welcome to my blog. My name is Anil Singh. I'm a author of this blog. For more detail about me, kindly refer to this link..
My Blogs - and
My Books - Interview Questions and Answers Books- Get Your Book in 15+ Digital Stores Worldwide..

You Might Also Like Powered by Blogger.
ASK Questions