Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
14 questionsWhat 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 role of the path module and why is it preferred over manual string concatenation?
Phone Screen ยท 873 views ยท path, file-system, cross-platform
Explain how modules work in Node.js.
Phone Screen ยท 826 views ยท modules, commonjs, es modules
What are the main security risks of using the 'eval()' function in Node.js?
Phone Screen ยท 811 views ยท security, best-practices, eval
How do you run Node.js processes as a background service?
Phone Screen ยท 691 views ยท pm2, deployment, devops
What does NODE_ENV=production actually change and why does it matter?
Backend ยท 619 views ยท nodejs, ops, node-env
What is the difference between blocking and non-blocking I/O in Node.js?
DSA ยท 432 views ยท i/o, blocking, non-blocking
Medium
36 questionsHow does the Node.js event loop work?
DSA ยท Amazon ยท 2.9k views ยท node, event-loop, async
How 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
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
How do you manage configuration in a Node.js application for different environments?
Low-Level Design ยท 1.1k views ยท configuration, environment variables, deployment
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
Hard
23 questionsWhat is `process.nextTick()` and `setImmediate()` and when to use them?
DSA ยท 1.2k views ยท event loop, scheduling, asynchronous
How do you profile CPU usage with --prof, 0x, or clinic.js flame graphs?
Backend ยท 1.1k views ยท nodejs, performance, profiling
Explain 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
How do you handle graceful shutdown in a Node.js application?
System Design ยท 868 views ยท deployment, reliability, error handling
How do you implement microservices communication in Node.js?
System Design ยท 836 views ยท microservices, grpc, architecture
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question