Node.js – Features and Application

Accroding to official documentation defintion of Node.js inis as follows:

Node.js® is a platform built on Chrome’s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Features of Node.js

Below there are few of the important features which are making Node.js as the first choice of software architects.

  • Aynchronous and Event Driven All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data.
  • Node uses V8 Engine, the virtual machine that powers Google Chrome, for server-side programming.
    V8 gives Node a huge boost in performance because it cuts out the middleman, preferring straight compilation into native machine code over executing bytecode or using an interpreter.
  • Single Threaded but highly Scalable – Node.js uses a single threaded model with event looping. Event mechanism helps server to respond in a non-bloking ways and makes server highly scalable as opposed to traditional servers which create limited threads to handle requests. Node.js uses a single threaded program and same program can services much larger number of requests than traditional server like Apache HTTP Server.
  • No Buffering – Node.js applications never buffer any data. These applications simply output the data in chunks.

Application: where to Use Node.js?

Node.js is a perfect technology in below areas:

  • Single Page Applications (SPA end-to-end JavaScript technology)
  • JSON APIs based Applications (NoSQL Databases like MongoDB, Cassandra, Redis)
  • I/O bound Applications
  • Data Streaming Applications
  • Data Intensive Realtime Applications (DIRT)

cropped-google-v8-javascript-engine.pngAccording to github wiki Node.js is used by IBM, Microsoft, Yahoo!, Walmart, Groupon, SAP, LinkedIn, Rakuten, PayPal, Voxer, and GoDaddy.

Summary:

Node is:

  • Built on JavaScript
  • Evented and asynchronous
  • Designed for data-intensive real-time applications
December 1st, 2015

  • you are really a just right webmaster. The site loading speed is amazing.
    It sort of feels that you are doing any distinctive trick.
    In addition, The contents are masterwork.
    you’ve performed a great activity in this subject!.

  • This design is wicked! You most definitely understand how to have a
    reader entertained. Between your wit and your videos, I found myself almost transferred to start my own, personal blog (well, almost…HaHa!) Wonderful job.
    I seriously enjoyed what you was required to say, and over that, the way you presented it.
    Too cool!.

  • Oh my goodness! an incredible article dude. Thank you Nevertheless I am experiencing issue with ur rss . Don抰 know why Unable to subscribe to it. Is there anybody getting an identical rss downside? Anyone who knows kindly respond. Thnkx.

  • I抦 impressed, I have to say. Really rarely do I encounter a blog that抯 both educative and entertaining, and let me tell you, you have hit the nail on the head. Your concept is excellent; the problem is one thing that not sufficient persons are speaking intelligently about. I’m very completely happy that I stumbled throughout this in my seek for something relating to this..

  • A lot of thanks for every one of your work on this web site. Kate really loves managing internet research and it’s obvious why. We all learn all regarding the powerful manner you create functional tips through the blog and as well improve contribution from others on the issue plus our own simple princess has been being taught a lot. Take advantage of the rest of the year. You’re the one conducting a remarkable job..

  • After I originally commented I clicked the -Notify me when new comments are added- checkbox and now every time a remark is added I get 4 emails with the identical comment. Is there any method you can remove me from that service? Thanks!.

  • I simply wanted to make a small remark to be able to thank you for all of the amazing ideas you are giving at this website. My particularly long internet investigation has at the end of the day been compensated with brilliant content to write about with my friends and classmates. I would believe that most of us visitors actually are really lucky to exist in a magnificent network with very many lovely people with very helpful secrets. I feel pretty lucky to have encountered your site and look forward to plenty of more excellent minutes reading here. Thanks once again for everything..

  • Youre so cool! I dont suppose Ive learn anything like this before. So nice to find any individual with some unique ideas on this subject. realy thanks for beginning this up. this web site is something that’s wanted on the internet, someone with a little bit originality. useful job for bringing one thing new to the web!.

  • An fascinating dialogue is value comment. I think that you should write extra on this subject, it may not be a taboo subject however generally persons are not sufficient to speak on such topics. To the next. Cheers.

  • An interesting dialogue is value comment. I think that it’s best to write more on this matter, it might not be a taboo topic but typically persons are not enough to talk on such topics. To the next. Cheers.