Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
152 Questions100.0k 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 ยท 801 views ยท api-design, versioning, rest
Views:801Likes:60
How do you implement structured logging with pino or winston, and why avoid console.log in production?
Backend ยท 497 views ยท nodejs, logging, pino
Views:497Likes:23
What is the built-in node:test runner and how does it compare to Jest and Mocha?
Backend ยท 434 views ยท nodejs, testing, node-test
Views:434Likes: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 ยท 207 views ยท callbacks, asynchronous, promises
Views:207Likes:57
Explain how clustering works in Node.js.
System Design ยท 87 views ยท clustering, scalability, concurrency
Views:87Likes:39
Hard
3 questionsHow do you achieve concurrency in Node.js since it's single-threaded?
System Design ยท 660 views ยท concurrency, single-threaded, event loop
Views:660Likes:7
What are Single Executable Applications (SEA) in Node.js?
Backend ยท 637 views ยท nodejs, distribution, sea
Views:637Likes: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