Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
2 questionsMedium
5 questionsWhat are Worker Threads in Node.js and when would you use them?
System Design ยท 1.1k views ยท worker threads, concurrency, performance
What is the difference between spawn() and exec() in Node.js?
Phone Screen ยท 1.1k views ยท child-process, streams, v8
How do you monitor a Node.js application's memory usage in production?
System Design ยท 714 views ยท monitoring, memory, production
What is the perf_hooks module and how do you measure performance?
Backend ยท 656 views ยท nodejs, performance, perf-hooks
Explain how clustering works in Node.js.
System Design ยท 92 views ยท clustering, scalability, concurrency
Hard
7 questionsHow do you profile CPU usage with --prof, 0x, or clinic.js flame graphs?
Backend ยท 1.2k views ยท nodejs, performance, profiling
Explain how memory management and Garbage Collection work in the V8 engine.
Low-Level Design ยท 1.1k views ยท v8, memory, garbage-collection
What are memory leaks in Node.js and how do you detect them?
Low-Level Design ยท 952 views ยท memory, debugging, v8
Describe the Node.js architecture.
System Design ยท 449 views ยท architecture, v8, libuv
What is the 'vm' (Virtual Machine) module and when would you use it?
Low-Level Design ยท 405 views ยท vm, security, v8
What is the role of `libuv` in Node.js?
System Design ยท 317 views ยท libuv, architecture, event loop
How do you capture and analyze a heap snapshot to find a memory leak?
Backend ยท 232 views ยท nodejs, memory, heap-snapshot
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question