Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
152 Questions100.4k Views6.3k Upvotes
35 easy78 med39 hard
Easy
2 questionsMedium
6 questionsHow do you design REST API versioning in a Node.js service?
System Design ยท 803 views ยท api-design, versioning, rest
Views:803Likes:60
How do you implement structured logging with pino or winston, and why avoid console.log in production?
Backend ยท 501 views ยท nodejs, logging, pino
Views:501Likes:23
What is the built-in node:test runner and how does it compare to Jest and Mocha?
Backend ยท 436 views ยท nodejs, testing, node-test
Views:436Likes:13
How do you consume a readable stream with `for await...of` versus the `data` event?
Low-Level Design ยท 284 views ยท streams, async-iteration, for-await-of
Views:284Likes:53
Explain what 'callback hell' is and how to avoid it.
DSA ยท 210 views ยท callbacks, asynchronous, promises
Views:210Likes:57
Explain how clustering works in Node.js.
System Design ยท 92 views ยท clustering, scalability, concurrency
Views:92Likes:39
Hard
3 questionsHow do you achieve concurrency in Node.js since it's single-threaded?
System Design ยท 664 views ยท concurrency, single-threaded, event loop
Views:664Likes:7
What are Single Executable Applications (SEA) in Node.js?
Backend ยท 647 views ยท nodejs, distribution, sea
Views:647Likes:58
Describe the Node.js architecture.
System Design ยท 449 views ยท architecture, v8, libuv
Views:449Likes:31
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question