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

E-security systems | CCTV

Blog banner

Women Empowerment

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

The Sunny Side of Instagram

Blog banner

(Input/Output) in os

Blog banner

Blockchain Security Technique

Blog banner

Deadlock

Blog banner

Cloud Security: Trends and Innovations

Blog banner

Types of Threads

Blog banner

SPAM

Blog banner

Assignment 2

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

Memory hierarchy

Blog banner

A Review on Data Acquisition in Cyber Forensics

Blog banner

1.1 basic elements

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

SQL Injection

Blog banner

Photography

Blog banner

How to use GIT & GITHUB

Blog banner

HR Automation : Need of the hour

Blog banner

Short note on Microsoft office

Blog banner

Teenagers of Today

Blog banner

Operating system

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

From Model Mistakes to Metrics

Blog banner

LinkedIn: Watch out for these 7 upcoming updates in 2023

Blog banner

The Role of Frontline Managers in Driving Workplace Performance and Customer Satisfaction

Blog banner

Virtual Machine

Blog banner

Blockchain uses and use cases

Blog banner

Security issues in Sensor Networks and gathering admissible evidence in Network Forensics

Blog banner

Virtual Memory - Explaination, Working, Steps

Blog banner

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

Blog banner

Memory Management

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

Wrike

Blog banner

Proof-of-Stake (PoS)

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

Population

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

Artificial Intelligence and I

Blog banner

Introduction my self

Blog banner