Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
2 questionsMedium
19 questionsWhat is AbortSignal.timeout and how do you cancel async work cleanly?
Backend ยท 1.2k views ยท nodejs, async, abortcontroller
How would you implement caching in a Node.js application?
System Design ยท 1.2k views ยท caching, performance, redis
How do you manage configuration in a Node.js application for different environments?
Low-Level Design ยท 1.1k views ยท configuration, environment variables, deployment
What are some best practices for structuring a Node.js project?
System Design ยท 1.1k views ยท best practices, project structure, architecture
How do you manage sessions and authentication in a Node.js web application?
Frontend ยท 1.1k views ยท authentication, sessions, jwt
What is the 12-factor app methodology as applied to Node.js services?
System Design ยท 986 views ยท nodejs, architecture, 12-factor
What is top-level await and what are its caveats in Node.js ESM?
Backend ยท 925 views ยท nodejs, esm, async
How do you design liveness and readiness health-check endpoints?
Backend ยท 840 views ยท nodejs, ops, health-check
Hard
12 questionsWhat is diagnostics_channel and when would you use it?
Backend ยท 1.0k views ยท nodejs, observability, diagnostics
How do you handle graceful shutdown in a Node.js application?
System Design ยท 868 views ยท deployment, reliability, error handling
What is the purpose of the HTTP Agent in Node.js?
System Design ยท 784 views ยท http, networking, agent
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 do you achieve concurrency in Node.js since it's single-threaded?
System Design ยท 660 views ยท concurrency, single-threaded, event loop
What are some common ways to improve performance in a Node.js application?
System Design ยท 652 views ยท performance, optimization, caching
How do you secure your Node.js API endpoints?
System Design ยท 384 views ยท security, api, authentication
How do you build a worker-thread pool (e.g. Piscina) for CPU-bound work?
Backend ยท 370 views ยท nodejs, worker-threads, concurrency
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question