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

Uniprocessor scheduling

Blog banner

File Management

Blog banner

Different types of scam frauds

Blog banner

LISP - Library Management System

Blog banner

Types of Hackers.

Blog banner

15 Interesting Facts about India

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

From Canoeing to Camping: The Perfect Nature Escape Near Arcadia

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

Android Flashlight Application

Blog banner

Memory Management

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Online Education

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Palliative and End — of — Life Care: A Psychological and Holistic Perspective

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner

What is metaverse?

Blog banner

Real Time Scheduling

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

Toothache Causes: Common Tooth Pain Reasons & When to See a Dentist

Blog banner

Rain

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

OPERATING SYSTEM

Blog banner

Memory Management

Blog banner

Overcoming the bedtime brushing Battle with Dr. Roxanne Irani, Dentist in Maroubra

Blog banner

Sarasota Polo Club, Myakka City — A Luxury Day Trip from Oak Tree Hotel, Arcadia

Blog banner

Process and Threading

Blog banner

FIREWALL

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Virtual Machine

Blog banner

How GIS in Agriculture Eliminates Guesswork

Blog banner

Old age lifestyle

Blog banner

Retiring ISS

Blog banner

All you need to know about Cassandra

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

Threat from Inside: Educating the Employees Against Cyber Threats

Blog banner

Deadlocks in Operating System

Blog banner

Image Steganalysis in Digital Forensics

Blog banner