Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
4 questionsWhat is Node.js and why is it popular?
Phone Screen ยท 595 views ยท basics, runtime, javascript
What is the difference between blocking and non-blocking I/O in Node.js?
DSA ยท 434 views ยท i/o, blocking, non-blocking
What is the role of the V8 JavaScript engine in Node.js?
Phone Screen ยท 334 views ยท v8, javascript, runtime
What is the difference between unit, integration, and end-to-end tests for a Node.js API?
Backend ยท 101 views ยท nodejs, testing, integration
Medium
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 ยท 969 views ยท crypto, security, libuv
What are Promises in Node.js and how do they improve async code?
DSA ยท 959 views ยท promises, asynchronous, error handling
What are Node.js Streams and when would you use them?
Low-Level Design ยท 617 views ยท streams, i/o, performance
How does the thread pool work in Node.js?
Low-Level Design ยท 518 views ยท libuv, multithreading, event-loop
What is `node:sqlite`, Node's built-in SQLite module?
Backend ยท 375 views ยท node:sqlite, database, sqlite
Hard
9 questionsHow do you profile CPU usage with --prof, 0x, or clinic.js flame graphs?
Backend ยท 1.2k views ยท nodejs, performance, profiling
What is `process.nextTick()` and `setImmediate()` and when to use them?
DSA ยท 1.2k views ยท event loop, scheduling, asynchronous
How does the Node.js 'dns' module differ from browser-based DNS resolution?
Low-Level Design ยท 879 views ยท dns, networking, modules
How do you achieve concurrency in Node.js since it's single-threaded?
System Design ยท 664 views ยท concurrency, single-threaded, event loop
What are some common ways to improve performance in a Node.js application?
System Design ยท 654 views ยท performance, optimization, caching
Explain the concept of 'Event Loop Pollution' and how to avoid it.
Low-Level Design ยท 525 views ยท event-loop, performance, asynchronous
Describe the Node.js architecture.
System Design ยท 449 views ยท architecture, v8, libuv
How do you build a worker-thread pool (e.g. Piscina) for CPU-bound work?
Backend ยท 372 views ยท nodejs, worker-threads, concurrency
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question