wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

NodeJs

profile
Ronak Gala
Mar 09, 2022
1 Like
0 Discussions
116 Reads

Node.js shines in real-time web applications employing push technology over websockets. What is so revolutionary about that? Well, after over 20 years of stateless-web based on the stateless request-response paradigm, we finally have web applications with real-time, two-way connections, where both the client and server can initiate communication, allowing them to exchange data freely. This is in stark contrast to the typical web response paradigm, where the client always initiates communication. Additionally, it’s all based on the open web stack (HTML, CSS and JS) running over the standard port 80.

The main idea of Node.js: use non-blocking, event-driven I/O to remain lightweight and efficient in the face of data-intensive real-time applications that run across distributed devices.

What it really means is that Node.js is not a silver-bullet new platform that will dominate the web development world. Instead, it’s a platform that fills a particular need. And understanding this is absolutely essential. You definitely don’t want to use Node.js for CPU-intensive operations; in fact, using it for heavy computation will annul nearly all of its advantages. Where Node really shines is in building fast, scalable network applications, as it’s capable of handling a huge number of simultaneous connections with high throughput, which equates to high scalability.

How it works under-the-hood is pretty interesting. Compared to traditional web-serving techniques where each connection (request) spawns a new thread, taking up system RAM and eventually maxing-out at the amount of RAM available, Node.js operates on a single-thread, using non-blocking I/O calls, allowing it to support tens of thousands of concurrent connections held in the event loop.


Comments ()


Sign in

Read Next

Top 5 Tech Innovations of 2018

Blog banner

From Model Mistakes to Metrics

Blog banner

MODERN OPERATING SYSTEM

Blog banner

ONLINE NEWSROOMS

Blog banner

Deadlock and Starvation

Blog banner

Define Instagram.

Blog banner

KASHMIR TRIPS

Blog banner

Environmental Management using GIS

Blog banner

Real time scheduling

Blog banner

10 Reasons to date your best friend

Blog banner

Networking 101: How to Build Meaningful Connections in College

Blog banner

Challenges of Digital forensics in cloud computing environment

Blog banner

Evolution of Operating system.

Blog banner

OPERATING SYSTEM

Blog banner

Principal of concurrency

Blog banner

Types of Hackers

Blog banner

Regression Analysis

Blog banner

Introduction my self

Blog banner

Uber

Blog banner

Concurrency and Deadlocks

Blog banner

MD5 Collisions and the impact on computer forensics

Blog banner

Article on Fresh Book

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

What Is Experiential Learning and Why Does It Work Better Than Rote Learning?

Blog banner

Deadlock and starvation

Blog banner

LIMITED EDITION

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

Buffering

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

Google classroom

Blog banner

What is OS and its overview

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

HubSpot

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

Education: Key to your Prosperity

Blog banner

PROCESS CONTROL BLOCK IN OS

Blog banner

The Truth Behind Viral DIY Dental Hacks

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

Protect yourself from System Hacking with these Simple Steps

Blog banner

Virtual Machine's

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner