Node.js cluster versus JXcore multithread
stackoverflow.com
Node.js cluster versus JXcore multithread
1–7 of 7 posts
Re: Node.js cluster versus JXcore multithread
#2Also, 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...
Re: Node.js cluster versus JXcore multithread
#3Re: Node.js cluster versus JXcore multithread
#4Re: Node.js cluster versus JXcore multithread
#5You can partially mitigate the risks of single threaded Node by using clustering (although it's still tagged an experimental feature) [1]. 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...
Re: Node.js cluster versus JXcore multithread
#6I'm curious how either of these compare to say Passenger?
Re: Node.js cluster versus JXcore multithread
#7I'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.
So while it isn't multi-threaded it can achieve some of the same goals (better use of multiple cores to serve more requests)