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

Love is in air.....

Blog banner

BIRYANI ! The history you never knew about

Blog banner

Mutual exclusion

Blog banner

Secure Hypertext transfer protocol

Blog banner

I/O Buffering

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

A little bit of salt is all the hash needs!

Blog banner

Malicious softwares

Blog banner

Paddle Through Paradise: The Best Kayak Launch Points Near Arcadia

Blog banner

File management

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

Expressing and Measuring Risk (Risk Management)

Blog banner

Subnet Masking

Blog banner

The Truth Behind Viral DIY Dental Hacks

Blog banner

Study on cyber and network forensic in computer security management

Blog banner

MUTUAL EXCLUSION

Blog banner

Boxing

Blog banner

Development Of Modern Operating System

Blog banner

Fitness

Blog banner

File management

Blog banner

Trends that began during the pandemic

Blog banner

RAID

Blog banner

Social Engineering

Blog banner

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

Blog banner

How Harshad Valia International School is nurturing India’s Young Minds?

Blog banner

The Chapped Lips and Dry Mouth Trap: The Sneaky Reason Cavities Spike in Winter

Blog banner

Teamwork

Blog banner

objectives and functions of operating system

Blog banner

Layers Of Blockchain

Blog banner

Fitness regime by Deepesh

Blog banner

The most common internet security threats

Blog banner

Threads

Blog banner

Social Media.

Blog banner

Electronic Funds Transfer

Blog banner

Hello World

Blog banner

Vulnerability Assessment

Blog banner

DISK SCHEDULING

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Multiprocessor scheduling

Blog banner

Multiprocessor and scheduling

Blog banner

Artificial Intelligence and I

Blog banner