Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
152 Questions100.4k Views6.3k Upvotes
35 easy78 med39 hard
Easy
1 questionMedium
4 questionsHow does the Node.js event loop work?
DSA ยท Amazon ยท 2.9k views ยท node, event-loop, async
Views:2.9kLikes:79
How does Node.js handle multi-threading behind the scenes if JavaScript is single-threaded?
System Design ยท 958 views ยท libuv, multi-threading, event-loop
Views:958Likes:1
How does the thread pool work in Node.js?
Low-Level Design ยท 518 views ยท libuv, multithreading, event-loop
Views:518Likes:53
How do you build a GraphQL API in Node.js, and what is the N+1 problem?
Backend ยท 131 views ยท graphql, n+1, dataloader
Views:131Likes:41
Hard
6 questionsHow do you profile CPU usage with --prof, 0x, or clinic.js flame graphs?
Backend ยท 1.2k views ยท nodejs, performance, profiling
Views:1.2kLikes:37
How do you implement a circuit breaker for unreliable downstream services?
System Design ยท 977 views ยท nodejs, resilience, circuit-breaker
Views:977Likes:62
How do you achieve concurrency in Node.js since it's single-threaded?
System Design ยท 664 views ยท concurrency, single-threaded, event loop
Views:664Likes:7
Explain the concept of 'Event Loop Pollution' and how to avoid it.
Low-Level Design ยท 525 views ยท event-loop, performance, asynchronous
Views:525Likes:2
What do `unref()` and `ref()` do on a Node.js Timeout, and why do timers drift?
Backend ยท 391 views ยท timers, event-loop, unref
Views:391Likes:57
What is the role of `libuv` in Node.js?
System Design ยท 317 views ยท libuv, architecture, event loop
Views:317Likes:2
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question