Closed virtser closed 7 years ago
Need to understand if that still make sense while running in Docker container. Instead we can accomplish the same by running the same Docker container number of times on same machine.
yes even you just run 1 child of the cluster you still get much quicker restart in case of crash
On Wed, Nov 30, 2016 at 11:59 AM, David Virtser notifications@github.com wrote:
Need to understand if that still make sense while running in Docker container. Instead we can accomplish the same by running the same Docker container number of times on same machine.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dorbel-tech/dorbel-shared/issues/15#issuecomment-263831903, or mute the thread https://github.com/notifications/unsubscribe-auth/ACHtjhdd8i6tIot_Mb6xDYr0qrAPgvBLks5rDUkOgaJpZM4K5GLi .
@avnersorek do you think it's a must for initial release?
Yes
On Mon, Jan 9, 2017 at 8:45 AM, David Virtser notifications@github.com wrote:
@avnersorek https://github.com/avnersorek do you think it's a must for initial release?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dorbel-tech/dorbel-shared/issues/15#issuecomment-271219981, or mute the thread https://github.com/notifications/unsubscribe-auth/ACHtjseEFnBvtJyWijyekBvhM2Fik1Z3ks5rQdeZgaJpZM4K5GLi .
See if more industry standard alternative is a better option: https://github.com/Unitech/pm2
Refer to clustering title in this post talking about pm2 clustering with Docker; https://www.sitepoint.com/node-js-best-practices-from-the-node-gurus/?utm_source=nodeweekly&utm_medium=email#scaleup
Implement clustering using: https://www.npmjs.com/package/throng