Node.js cluster versus JXcore multithread(stackoverflow.com)
stackoverflow.com
Node.js cluster versus JXcore multithread
http://stackoverflow.com/questions/21889229/nodejs-cluster-vs-jxcore-multithread
3 comments
JXcore isn't on my radar until it is open sourced with a permissive license.
I'm curious how either of these compare to say Passenger?
how can Passenger help with multi-threading/workers/... ? if a Passenger dev is nearby... i'm curious about it.
Passenger can manage multiple node processes for the same "app" automatically.
So while it isn't multi-threaded it can achieve some of the same goals (better use of multiple cores to serve more requests)
So while it isn't multi-threaded it can achieve some of the same goals (better use of multiple cores to serve more requests)
Also, these worker threads can be made to respawn on a shutdown caused by - let's say - an unhandled exception as [2].
[1] http://nodejs.org/api/cluster.html
[2] https://nadeesha.silvrback.com/setting-up-multiple-worker-th...