Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
NodeJS Advanced: Process, Thread, Race Condition, Websockets
Rating: 5.0 out of 5(4 ratings)
136 students

NodeJS Advanced: Process, Thread, Race Condition, Websockets

NodeJS Deep Dive: Mastering Internals, Threads, Race Condition, Lock & Stream, Websocket Protocol
Created byVan Nguyen
Last updated 4/2025
English

What you'll learn

  • Understand Operating System Fundamentals
  • Understand Node.js Internals
  • Performance Optimization
  • Understand Threads

Course content

12 sections70 lectures9h 18m total length
  • Introduction3:39

Requirements

  • At least 1 year of experience in backend development

Description

NodeJS Deep Dive: Mastering Internals & System Interactions

Have you been working with NodeJS for a while but don't really understand it?

Discover how Node.js truly works under the hood by exploring its internal mechanisms and its interaction with the operating system. This course goes beyond basic usage, providing knowledge of process management, memory handling, and concurrency. You’ll learn how Node.js efficiently handles I/O operations, manages threads, and utilizes system resources to deliver high-performance applications. By understanding these core concepts, you’ll be able to write more optimized, scalable, and reliable Node.js applications.

What You’ll Learn:

Operating System Fundamentals:

  • The role of RAM, Hard Drive, and CPU in program execution

  • Programs vs. Processes and different process states

  • Multi-programming and efficient resource utilization

  • Preemptive vs. Non-preemptive Scheduling explained

  • The Program Counter and its significance

  • How Context Switching works behind the scenes

Node.js Internals:

  • Understanding V8 and how it executes JavaScript

  • The role of Libuv in handling asynchronous operations

  • Compilation vs. Interpretation and JIT (Just-in-Time) Compilation

Concurrency & Performance Optimization:

  • I/O Tasks vs. CPU Tasks and how Node.js handles Non-blocking I/O

  • Using Child Processes to offload work

  • Scaling with Clusters

  • Worker Threads for parallel execution

  • Understanding and mitigating Race Conditions

Who this course is for:

  • Developers who want to understand how Node.js works under the hood
  • Engineers looking to optimize performance in Node.js applications
  • Developers who want to deep understanding of nodejs