Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
1 questionMedium
9 questionsHow does the Node.js event loop work?
DSA ยท Amazon ยท 2.9k views ยท node, event-loop, async
Explain the concept of 'event-driven architecture' in Node.js.
System Design ยท 1.2k views ยท event-driven, architecture, event loop
What is a background job queue (BullMQ/Redis) and when do you need one?
System Design ยท 1.1k views ยท nodejs, queue, bullmq
How does Node.js handle crypto operations efficiently without blocking the event loop?
Low-Level Design ยท 967 views ยท crypto, security, libuv
What are Promises in Node.js and how do they improve async code?
DSA ยท 957 views ยท promises, asynchronous, error handling
How do you implement real-time communication with WebSockets (ws) in Node.js?
Backend ยท 734 views ยท nodejs, websockets, realtime
How do you limit the concurrency of many async operations (p-limit / promise pool)?
Backend ยท 647 views ยท nodejs, concurrency, async
How does the thread pool work in Node.js?
Low-Level Design ยท 515 views ยท libuv, multithreading, event-loop
Hard
8 questionsWhat is `process.nextTick()` and `setImmediate()` and when to use them?
DSA ยท 1.2k views ยท event loop, scheduling, asynchronous
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
What changes for a Node.js app running on AWS Lambda vs a long-running server?
System Design ยท 774 views ยท serverless, aws-lambda, cold-start
How does HTTP/2 support work in Node.js and how does it differ from HTTP/1.1?
Backend ยท 487 views ยท nodejs, http2, networking
How do you build a worker-thread pool (e.g. Piscina) for CPU-bound work?
Backend ยท 370 views ยท nodejs, worker-threads, concurrency
How do you guarantee idempotency in a queue consumer?
System Design ยท 364 views ยท nodejs, queue, idempotency
What is the role of `libuv` in Node.js?
System Design ยท 314 views ยท libuv, architecture, event loop
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question