I m designing a cluster using Node JS server. I read on documentation that the NodeJS clustering is made up on same server, using mainly worker processes according to the number of processors the server has. My question is about a failover mechanism able to keep my application to works even if the Master process crashes down.
What is the best practice in this situation?
I can give you a few suggestions based on the Node.js projects that I've worked on.
Hope this helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.