Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
4 questionsWhat is the difference between dependencies, devDependencies, and peerDependencies?
Phone Screen ยท 1.1k views ยท npm, package, architecture
How do you run Node.js processes as a background service?
Phone Screen ยท 691 views ยท pm2, deployment, devops
What does NODE_ENV=production actually change and why does it matter?
Backend ยท 619 views ยท nodejs, ops, node-env
What does the Node.js `--env-file` flag do, and does it replace dotenv?
Backend ยท 66 views ยท env-file, dotenv, configuration
Medium
17 questionsHow do you manage configuration in a Node.js application for different environments?
Low-Level Design ยท 1.1k views ยท configuration, environment variables, deployment
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 does the events.once() helper do and how does it bridge EventEmitter and async/await?
Backend ยท 768 views ยท nodejs, events, async
How do you monitor a Node.js application's memory usage in production?
System Design ยท 711 views ยท monitoring, memory, production
How do you containerize a Node.js app with a small, secure Docker image (multi-stage, distroless)?
System Design ยท 694 views ยท nodejs, docker, deployment
What is the perf_hooks module and how do you measure performance?
Backend ยท 654 views ยท nodejs, performance, perf-hooks
How do you implement structured logging with pino or winston, and why avoid console.log in production?
Backend ยท 497 views ยท nodejs, logging, pino
Hard
7 questionsHow do you profile CPU usage with --prof, 0x, or clinic.js flame graphs?
Backend ยท 1.1k views ยท nodejs, performance, profiling
How do you implement microservices communication in Node.js?
System Design ยท 836 views ยท microservices, grpc, architecture
Explain the concept of 'Event Loop Pollution' and how to avoid it.
Low-Level Design ยท 523 views ยท event-loop, performance, asynchronous
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 guarantee idempotency in a queue consumer?
System Design ยท 364 views ยท nodejs, queue, idempotency
How do you add OpenTelemetry distributed tracing to a Node.js service?
Backend ยท 307 views ยท nodejs, observability, opentelemetry
How do you capture and analyze a heap snapshot to find a memory leak?
Backend ยท 231 views ยท nodejs, memory, heap-snapshot
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question