wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

NodeJs

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

Cache memory

Blog banner

Street foods

Blog banner

Why Personalized Return Gifts Are the Perfect Choice for Every Kid’s Birthday Party?

Blog banner

Synchronization

Blog banner

E-learning

Blog banner

E-Cash (Electronic Cash)

Blog banner

Cryptanalysis tool

Blog banner

Jira Software

Blog banner

Network Footprinting in Cybersecurity

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Digital Marketing Ethics Transparency Trust And Brand Reputation digital

Blog banner

Why Consistency in Eating Habits Matters and How Meal Maharaj Makes It Easy

Blog banner

memory cache

Blog banner

Paid Email

Blog banner

Privacy LAWs in IT

Blog banner

Internet of Things and cyber security

Blog banner

Winter-to-Spring Smile Care: How Sydney’s Late-August Winds Impact Your Teeth & Gums

Blog banner

What is Network Security?

Blog banner

Deadlocks in Operating Systems

Blog banner

Cache memory

Blog banner

Education?

Blog banner

To travel is to live

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

Evolution of Operating system.

Blog banner

RAID

Blog banner

What is HTML?

Blog banner

Memory Hierarchy

Blog banner

Direct Memory Access

Blog banner

How Personalised Gifts Create Lasting Memories for Children?

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

21ST CENTURY PATRIARCHY

Blog banner

Binary Search Tree (BST) in Data Structure

Blog banner

Threads

Blog banner

Emerging threats in cyber Forensics

Blog banner

Dangers of Using Public WiFis

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

Confidence Building Activities for the New School Year

Blog banner

My favourite food

Blog banner

File management In Operating System

Blog banner

Global versus Indian Mental Health Differences

Blog banner

How to lose belly fat

Blog banner