What are the effective differences between child_process.fork and cluster.fork?
cluster.fork
is implemented on top of child_process.fork
. The extra stuff that cluster.fork
brings is that, it will enable you to listen on a shared port. If you don't want it, just use child_process.fork
. So yeah, use cluster for web servers and child_process for workers.