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

Depression

Blog banner

Jira Software

Blog banner

Virtual memory

Blog banner

The Khan mehtab transforming the modular switches

Blog banner

THE ACTORS LIFE

Blog banner

?How long does wisdom tooth pain last?

Blog banner

Memory Management

Blog banner

BrainGate Technology

Blog banner

Define Instagram.

Blog banner

From Websites To Super Apps For Digital User Experience

Blog banner

Concurrency management in operating systems

Blog banner

A book review

Blog banner

DATA VAULT

Blog banner

Child labour

Blog banner

Social Media Sentiment Analysis

Blog banner

Memory management

Blog banner

Virtual Memory

Blog banner

The Impact of Cyber Forensics on Corporate Governance and Compliance

Blog banner

Self-love: Being the reason of your own smile

Blog banner

Cyber Security Standards

Blog banner

From Procrastinator to Performer: How to Beat the Last-Minute Rush

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

RAID

Blog banner

What is a Malware ?

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Mobile Survey

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner

operating system

Blog banner

Data Science & AI

Blog banner

Data Visualization in Decision-Making

Blog banner

Cache Memory(142)

Blog banner

Developments in Modern Operating Systems

Blog banner

How to Encrypt and Decrypt Using GNU PGP

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

Banaras

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Intrusion Detection System

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

What is OS and its overview

Blog banner

Virtual machine and virtualizing

Blog banner