Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
3 questionsWhat is the difference between readFile and createReadStream in Node.js?
Phone Screen ยท 884 views ยท file-system, streams, memory
What is the purpose of the util.promisify function in Node.js?
Phone Screen ยท 452 views ยท utilities, promises, async
What is the difference between blocking and non-blocking I/O in Node.js?
DSA ยท 432 views ยท i/o, blocking, non-blocking
Medium
25 questionsHow does the Node.js event loop work?
DSA ยท Amazon ยท 2.9k views ยท node, event-loop, async
What is AbortSignal.timeout and how do you cancel async work cleanly?
Backend ยท 1.2k views ยท nodejs, async, abortcontroller
What are 'Event Emitting' patterns and how does error-first callback convention relate to them?
Low-Level Design ยท 1.2k views ยท async, patterns, events
When would you choose Node.js over other backend technologies?
System Design ยท 1.1k views ยท use cases, scalability, real-time
What are some best practices for structuring a Node.js project?
System Design ยท 1.1k views ยท best practices, project structure, architecture
What are Worker Threads in Node.js and when would you use them?
System Design ยท 1.1k views ยท worker threads, concurrency, performance
What is a background job queue (BullMQ/Redis) and when do you need one?
System Design ยท 1.1k views ยท nodejs, queue, bullmq
How does Node.js handle crypto operations efficiently without blocking the event loop?
Low-Level Design ยท 967 views ยท crypto, security, libuv
Hard
10 questionsWhat is `process.nextTick()` and `setImmediate()` and when to use them?
DSA ยท 1.2k views ยท event loop, scheduling, asynchronous
How does CommonJS `require()` an ES Module in modern Node.js?
Backend ยท 1.1k views ยท commonjs, esm, require
What is backpressure in Node.js streams and how do you handle it?
Low-Level Design ยท 876 views ยท streams, memory, backpressure
How do you implement microservices communication in Node.js?
System Design ยท 836 views ยท microservices, grpc, architecture
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
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