ummon.ready() should be smarter
mattmcmanus opened this issue · comments
Right now it's a simple if ummon.workers.length < ummon.MAX_WORKERS
which is not smart.
What's the smartest default here? node-cluster-compute does:
max_processes - the maximum number of processes to spawn (default is ceil(#cpus * 1.25))
The thought was to have it scale to system load but do we want to have more processes than # of cpus?