Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Medium
6 questionsHow does the Node.js event loop work?
DSA ยท Amazon ยท 2.9k views ยท node, event-loop, async
When would you choose Node.js over other backend technologies?
System Design ยท 1.1k views ยท use cases, scalability, real-time
What are Worker Threads in Node.js and when would you use them?
System Design ยท 1.1k views ยท worker threads, concurrency, performance
Explain the differences between fork(), spawn(), and exec() in the child_process module.
Low-Level Design ยท 763 views ยท child-process, concurrency, performance
How does the thread pool work in Node.js?
Low-Level Design ยท 515 views ยท libuv, multithreading, event-loop
Explain how clustering works in Node.js.
System Design ยท 87 views ยท clustering, scalability, concurrency
Hard
4 questionsWhen would you use `child_process` module in Node.js?
System Design ยท 1.0k views ยท child_process, system calls, concurrency
How do you achieve concurrency in Node.js since it's single-threaded?
System Design ยท 660 views ยท concurrency, single-threaded, event loop
What are some common ways to improve performance in a Node.js application?
System Design ยท 652 views ยท performance, optimization, caching
How do you build a worker-thread pool (e.g. Piscina) for CPU-bound work?
Backend ยท 370 views ยท nodejs, worker-threads, concurrency
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question