YoVDO

Building a Non-Blocking Multi-Processes Web Server - Node JS Fork Example

Offered By: Hussein Nasser via YouTube

Tags

Node.Js Courses Scalability Courses

Course Description

Overview

Learn to build a non-blocking multi-process web server using Node.js fork functionality in this 23-minute tutorial. Discover how to handle expensive processing requests without blocking other incoming requests by spinning off separate processes. Explore the implementation of an 'isPrime' web service, testing with various prime numbers to demonstrate processing times. Examine both blocking and non-blocking approaches, comparing their pros and cons. Gain insights into utilizing multi-core CPUs, de-coupling processes, and managing the increased complexity of multi-process applications. Follow along with provided source code examples and learn about query parameters, debugging challenges, and health checking between processes. Master techniques to create efficient, scalable web servers capable of handling computationally intensive tasks.

Syllabus

Intro
The code
Creating a new project
Creating a child process
Forking
Child process
Listen
Spin the child
Sending information
Sending back
Debugging
Testing
Problem
Pros and Cons


Taught by

Hussein Nasser

Related Courses

Financial Sustainability: The Numbers side of Social Enterprise
+Acumen via NovoEd
Cloud Computing Concepts: Part 2
University of Illinois at Urbana-Champaign via Coursera
Developing Repeatable ModelsĀ® to Scale Your Impact
+Acumen via Independent
Managing Microsoft Windows Server Active Directory Domain Services
Microsoft via edX
Introduction aux conteneurs
Microsoft Virtual Academy via OpenClassrooms