Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
7 questionsWhat are stream piping and the .pipe() method in Node.js?
Phone Screen ยท 978 views ยท streams, file-system, pipes
What does the Node.js --watch flag do and how does it replace nodemon?
Backend ยท 954 views ยท nodejs, tooling, dx
What is the difference between readFile and createReadStream in Node.js?
Phone Screen ยท 884 views ยท file-system, streams, memory
What is the use of the 'os' module in Node.js?
Phone Screen ยท 418 views ยท os, modules, performance
How can you securely store and verify passwords in a Node.js application?
Phone Screen ยท 340 views ยท security, crypto, auth
What is the role of the V8 JavaScript engine in Node.js?
Phone Screen ยท 331 views ยท v8, javascript, runtime
What is the difference between unit, integration, and end-to-end tests for a Node.js API?
Backend ยท 98 views ยท nodejs, testing, integration
Medium
25 questionsHow would you implement caching in a Node.js application?
System Design ยท 1.2k views ยท caching, performance, redis
Explain the concept of 'event-driven architecture' in Node.js.
System Design ยท 1.2k views ยท event-driven, architecture, event loop
How do you implement a custom Transform stream?
Backend ยท 1.1k views ยท nodejs, streams, transform
What are Worker Threads in Node.js and when would you use them?
System Design ยท 1.1k views ยท worker threads, concurrency, performance
How do you manage sessions and authentication in a Node.js web application?
Frontend ยท 1.1k views ยท authentication, sessions, jwt
What is a background job queue (BullMQ/Redis) and when do you need one?
System Design ยท 1.1k views ยท nodejs, queue, bullmq
What is the 12-factor app methodology as applied to Node.js services?
System Design ยท 986 views ยท nodejs, architecture, 12-factor
Explain the differences between fork(), spawn(), and exec() in the child_process module.
Low-Level Design ยท 763 views ยท child-process, concurrency, performance
Hard
10 questionsExplain how memory management and Garbage Collection work in the V8 engine.
Low-Level Design ยท 1.1k views ยท v8, memory, garbage-collection
When would you use `child_process` module in Node.js?
System Design ยท 1.0k views ยท child_process, system calls, concurrency
What are memory leaks in Node.js and how do you detect them?
Low-Level Design ยท 950 views ยท memory, debugging, v8
What is backpressure in Node.js streams and how do you handle it?
Low-Level Design ยท 876 views ยท streams, memory, backpressure
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
What are some common ways to improve performance in a Node.js application?
System Design ยท 652 views ยท performance, optimization, caching
What are Single Executable Applications (SEA) in Node.js?
Backend ยท 637 views ยท nodejs, distribution, sea
Explain the concept of 'Event Loop Pollution' and how to avoid it.
Low-Level Design ยท 523 views ยท event-loop, performance, asynchronous
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question