wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

NodeJs

profile
Ronak Gala
Mar 09, 2022
1 Like
0 Discussions
115 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

Service transition principles

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Note on Process, Process creation and Process termination

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

How To Invest in Indian Stock Market For Beginners. ~ Tutorial 2 (NSDL And CSDL) Continued...

Blog banner

VIRTUAL MACHINE

Blog banner

Demystifying Cryptography: A Beginner's Guide

Blog banner

Cherish the Craft — Essential Tips to Maintain Your Patola Collection

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

IOT Hacking Techniques

Blog banner

Threat management

Blog banner

Types of Hackers.

Blog banner

India Digital Personal Data Protection Act, 2023

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

Dekkers Algorithm

Blog banner

Direct Memory Access

Blog banner

Data Lake

Blog banner

Types Of Interrupt

Blog banner

Malicious softwares

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

A BLOG ON MYSQL

Blog banner

What Makes Patola the Queen of Silk?

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

The Rise of Evil Twin Attacks: A New Kind Of Spoofing Cyberattack

Blog banner

Deadlock

Blog banner

Save Environment

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Hacking

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

OS- Assignnment 1

Blog banner

Clustering Techniques

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

Firewall in Computer Network

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Impacts of Data Breach On Companies Challenges and Prevention

Blog banner

Review on Recovering Deleted Files

Blog banner

Expert System In AI

Blog banner

STUDY OF SYSTEM HACKING TOOLS

Blog banner

Deadlock and Starvation

Blog banner

Memory Management

Blog banner

RAID

Blog banner