Advanced

Clustering, worker threads, performance, security, and architecture

Questions

1
advanced

What are Worker Threads in Node.js?

worker-threadsparallelismcpu-intensive
2
advanced

What is the difference between cluster and worker_threads?

clusterworker-threadsscaling
3
advanced

What is the libuv library in Node.js?

libuvevent-looparchitecture
advancedPremium

What is the thread pool in Node.js and what is its default size?

thread-poollibuvperformance
advancedPremium

What are the phases of the Node.js event loop?

event-loopphasesinternals
advancedPremium

What is memory leak in Node.js and how can you detect it?

memory-leakdebuggingperformance
advancedPremium

What is the purpose of the --inspect flag?

inspectdebuggingprofiling
advancedPremium

What is the N-API in Node.js?

n-apinative-addonsc-api
advancedPremium

What is backpressure in Node.js streams?

backpressurestreamsperformance
advancedPremium

What is the purpose of PM2?

pm2process-managerproduction
advancedPremium

What are some common security vulnerabilities in Node.js applications?

securityvulnerabilitiesowasp
advancedPremium

What is the purpose of npm audit?

npm-auditsecuritydependencies
advancedPremium

What is graceful shutdown in Node.js?

graceful-shutdownsignalsproduction
advancedPremium

What is the purpose of child_process module?

child-processspawnexec
advancedPremium

What is the difference between spawn() and exec() in child_process?

spawnexecchild-process
advancedPremium

What is the V8 garbage collector and how does it work?

v8garbage-collectionmemory
advancedPremium

What is the purpose of the async_hooks module?

async-hookstracingdebugging