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

Little Habits, Big Impact: Daily Preschool Routines That Shape the Future

Blog banner

Internet of Things

Blog banner

Deadlock and Starvation

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

Service Design Principles

Blog banner

Dudhasagar waterfall ?

Blog banner

E-Cash (Electronic Cash)

Blog banner

Why You Should Not Use Free VPNs

Blog banner

The 60-Minute Window: What to Do (And What NOT to Do) When You Knock Out a Tooth

Blog banner

Man VS Nature

Blog banner

Cache memory

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

Love is in air.....

Blog banner

Mumbai

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

Supervised and unsupervised learning

Blog banner

Characteristics of Etherum

Blog banner

Cyber Security in Data Breaching

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

Odoo

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner

Developments in Modern Operating Systems

Blog banner

Direct Memory Access

Blog banner

Teenagers of Today

Blog banner

Virtual Machine

Blog banner

The Art Of Getting What You Want In Life....

Blog banner

Note on Process, Process creation and Process termination

Blog banner

Raid and levels of raid.

Blog banner

Image Steganalysis in Digital Forensics

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

AI and Data Science: Revolutionizing Industries

Blog banner

VIRTUAL MACHINES

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

Record Blocking

Blog banner

Raid

Blog banner

Deadlock

Blog banner

Apache Kafka

Blog banner

Service design process in ITSM

Blog banner

Decoding Confusion Matrix

Blog banner