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

John Titor: The Time Traveler

Blog banner

Question

Blog banner

This is my first blog.

Blog banner

Importance of Website

Blog banner

social media issue

Blog banner

Amazon

Blog banner

Indian Culture and Tradition

Blog banner

Fashion design

Blog banner

Starvation

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner

Telegram and it's features

Blog banner

SQL Injection practice on DVWA

Blog banner

Protein and Energy: Why Your Workday Diet Needs More of It

Blog banner

Wedding photographer

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

38_Exploring The Honeynet Project

Blog banner

Product Discount Calculator

Blog banner

Exploring Arcadia’s Cowboy Culture, Peace River & Hidden Attractions

Blog banner

Importance Of Education.

Blog banner

Operating system and overviews

Blog banner

IoT Architecture Based Security

Blog banner

Career v/s Job : Choose your passion

Blog banner

"Mahakali cave"

Blog banner

Music

Blog banner

Concurrency and memory

Blog banner

Why White Bedding Has Become a Hotel Industry Standard?

Blog banner

Scala - a programming tool

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

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

Blog banner

Operating System

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

INTERNET SECURITY

Blog banner

I/O buffer and its techniques

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

Satellite Based Positioning

Blog banner

This too shall pass

Blog banner

Visualization in Data Science

Blog banner

Bulk E-mail software

Blog banner

Health is Wealth

Blog banner

SPEM

Blog banner