next
Round
Technologies
Saved
Contribute
Login
next
Round
Technologies
Saved
Contribute
Login
Question Loading...
Clusters
1. What is clustering in Node.js, and why is it needed?
Level: Expert | Frequency: High
2. How does the Node.js Cluster module work internally?
Level: Expert | Frequency: High
3. What is the difference between the master process and a worker process in Node.js clustering?
Level: Expert | Frequency: High
4. How do you check if the current process is a master or worker in Node.js?
Level: Expert | Frequency: High
5. What happens when a worker process crashes in a Node.js cluster?
Level: Expert | Frequency: High
6. How do workers in a Node.js cluster share a port without conflict?
Level: Expert | Frequency: High
7. How do you send messages between master and worker processes in a Node.js cluster?
Level: Expert | Frequency: High
8. How do you gracefully shut down a worker in Node.js clustering?
Level: Expert | Frequency: High
9. What is the difference between cluster.fork() and child_process.fork()?
Level: Expert | Frequency: High
10. What are the two load balancing strategies in Node.js cluster, and how do you configure them?
Level: Expert | Frequency: High
11. Can workers share memory or state in a Node.js cluster?
Level: Expert | Frequency: High
12. How does clustering differ from using Worker Threads in Node.js?
Level: Expert | Frequency: High
13. What are the limitations of Node.js clustering?
Level: Expert | Frequency: High
14. How do you implement sticky sessions with Node.js clustering?
Level: Expert | Frequency: High
15. Your Node.js server handles 10,000 concurrent users but is slow. How does clustering help?
Level: Expert | Frequency: High
16. How would you monitor the health of worker processes in a Node.js cluster in production?
Level: Expert | Frequency: High
17. What is PM2 and how does it relate to Node.js clustering?
Level: Expert | Frequency: High
All Topics
Basics
Event Loop
Buffers
Streams
Events
Modules
Worker Threads
File Operations
Threads
Performance Optimisation
Websockets
Time functions
Clusters
Crypto