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

MongoDB for Node.js Developers
MongoDB University
Introduction to Office 365 Development and APIs
Microsoft via edX
Server-side Development with NodeJS
The Hong Kong University of Science and Technology via Coursera
Front-End Web UI Frameworks and Tools
The Hong Kong University of Science and Technology via Coursera
Introduction to MongoDB using the MEAN Stack
MongoDB via edX