Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
1 questionMedium
10 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
How does Node.js handle crypto operations efficiently without blocking the event loop?
Low-Level Design ยท 967 views ยท crypto, security, libuv
What is top-level await and what are its caveats in Node.js ESM?
Backend ยท 925 views ยท nodejs, esm, async
Explain the differences between fork(), spawn(), and exec() in the child_process module.
Low-Level Design ยท 763 views ยท child-process, concurrency, performance
Explain the Node.js event loop.
DSA ยท 718 views ยท event loop, asynchronous, concurrency
How do you limit the concurrency of many async operations (p-limit / promise pool)?
Backend ยท 647 views ยท nodejs, concurrency, async
Hard
5 questionsWhen would you use `child_process` module in Node.js?
System Design ยท 1.0k views ยท child_process, system calls, concurrency
What changes for a Node.js app running on AWS Lambda vs a long-running server?
System Design ยท 774 views ยท serverless, aws-lambda, cold-start
How do you achieve concurrency in Node.js since it's single-threaded?
System Design ยท 660 views ยท concurrency, single-threaded, event loop
How do you build a worker-thread pool (e.g. Piscina) for CPU-bound work?
Backend ยท 370 views ยท nodejs, worker-threads, concurrency
What is AsyncLocalStorage and what problem does it solve?
Backend ยท 335 views ยท nodejs, async-hooks, context
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question