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

Importance Of Blockchain

Blog banner

Buffering

Blog banner

Cache memory

Blog banner

New Horizon Europe project ‘EvoLand’ sets off to develop new prototype services.

Blog banner

Developments in Modern Operating Systems

Blog banner

Understanding Mobile Device Forensics

Blog banner

Memory Management

Blog banner

Open Source Project By Google

Blog banner

What is 'Multi-core and Multi-threading' ?

Blog banner

Network Security Risks

Blog banner

Virtual Memory

Blog banner

Biometric Authentication and Privacy: Balancing Ethical Concerns

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Street foods

Blog banner

Memory Management in Operating System

Blog banner

Culture Of Ladakh

Blog banner

Cache memory

Blog banner

Cyber-crime Investigation and Future Directions

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

rupee

Blog banner

Understanding the 'Ambiverts'

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

Memory Management

Blog banner

Excel records

Blog banner

IT security management

Blog banner

Study of Sniffing Tools

Blog banner

Critical success factors

Blog banner

'Positivity in life'

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Virtual Memory

Blog banner

Marvel Cinematic Universe

Blog banner

My Favorite Sportsperson

Blog banner

Importance of Website

Blog banner

Virtual Memory

Blog banner

memory cache

Blog banner

Uniprocessor scheduling

Blog banner

Online Games

Blog banner

Big Data

Blog banner

virtual machine

Blog banner

Operating system

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

10 Unknown facts about India's Independence

Blog banner