Skip to content

Latest commit

 

History

History
89 lines (52 loc) · 2.18 KB

File metadata and controls

89 lines (52 loc) · 2.18 KB

Node.js Design Fundamentals

  • Conceptions

    • Asynchronous
    • Event Loop
    • IO operations
    • Non blocking
  • Components

    • V8
    • libuv

Nginx vs Apache

Capacity

Capacity

Memory

Memory

What Makes Node.js Faster Than Java? (source)

Java

Java Threading

Node.js

Node.js Threading

What is the difference between traditional threaded model versus Node.js non-blocking event loop?

Java

Java Model

Node.js

Node.js Model

Performance Comparisons

Operations that are performed in main thread using asynchronous non-blocking system calls or in worker threads.

Node.js at PayPal

List operations

Operation Main thread Worker thread
DNS X
Filesystem X
Pipe X
TCP X
TTY X
UDP X

Components

JS + V8 + libuv = Node.js

Overview

Node.js Codebase

Codebase

Node.js Codebase

Links