Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
1 questionMedium
11 questionsHow does the Node.js event loop work?
DSA ยท Amazon ยท 2.9k views ยท node, event-loop, async
Explain the concept of 'event-driven architecture' in Node.js.
System Design ยท 1.2k views ยท event-driven, architecture, event loop
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
How does `async/await` work and what are its benefits?
DSA ยท 858 views ยท async/await, promises, asynchronous
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
Hard
9 questionsWhat is `process.nextTick()` and `setImmediate()` and when to use them?
DSA ยท 1.2k views ยท event loop, scheduling, asynchronous
What is a ReDoS (Regular Expression Denial of Service) attack and how do you avoid it?
Backend ยท 1.0k views ยท nodejs, security, redos
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
Explain the concept of 'Event Loop Pollution' and how to avoid it.
Low-Level Design ยท 523 views ยท event-loop, performance, asynchronous
Describe the Node.js architecture.
System Design ยท 449 views ยท architecture, v8, libuv
What do `unref()` and `ref()` do on a Node.js Timeout, and why do timers drift?
Backend ยท 388 views ยท timers, event-loop, unref
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