Please enable JavaScript.
Coggle requires JavaScript to display documents.
Nodejs Paralelism - Coggle Diagram
Nodejs Paralelism
Horizontal
Network Scaling ( Cluster )
Focus
High Availabilty
Architecture
Master
Manger of worker
Worker Model
Feature
Copy Of Master
OS Port Sharding
Handled by Primary Porcess ( Master )
Load Balancer
Round Robin ( Cpu Utilizations of each core )
CPU Scaling ( Worker Thread )
Focus
Cpu Performance
Use Case
Image Processing
Cryptography
Bigdata sorting 1 milion row
Concept
Use Shared Memory ( Buffer array )
Use Same Process
Use same environment
their own event loop
Process Isolation (Child Process)
Focus
Complete Isolation
Method
Spawn()
Streaming Large amount of data
Exec()
Buffer Result ( shell command)
Fork()
setup IPC Channel ( Inter process channel )
Feature
Can Handle Multiple Process
Use Case
FFMPEG , bash script