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 ยท 957 views ยท nodejs, tooling, dx
What is the difference between readFile and createReadStream in Node.js?
Phone Screen ยท 913 views ยท file-system, streams, memory
What is the role of the path module and why is it preferred over manual string concatenation?
Phone Screen ยท 877 views ยท path, file-system, cross-platform
Explain how modules work in Node.js.
Phone Screen ยท 829 views ยท modules, commonjs, es modules
What are the main security risks of using the 'eval()' function in Node.js?
Phone Screen ยท 814 views ยท security, best-practices, eval
How do you run Node.js processes as a background service?
Phone Screen ยท 693 views ยท pm2, deployment, devops
What does NODE_ENV=production actually change and why does it matter?
Backend ยท 620 views ยท nodejs, ops, node-env
What is the difference between blocking and non-blocking I/O in Node.js?
DSA ยท 434 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 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
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 ยท 952 views ยท memory, debugging, v8
What is backpressure in Node.js streams and how do you handle it?
Low-Level Design ยท 878 views ยท streams, memory, backpressure
How do you handle graceful shutdown in a Node.js application?
System Design ยท 872 views ยท deployment, reliability, error handling
How do you implement microservices communication in Node.js?
System Design ยท 838 views ยท microservices, grpc, architecture
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question