nodejs解决cpu密集型任务的方案记录

nodejs解决cpu密集型任务的方案记录

      • 多线程 tagg2模块
      • 多进程

多线程 tagg2模块

多进程

1. cluster
2. webworker(child_process模块)
3. 使用child_process + node -e 参数

你可能感兴趣的:(nodejs解决cpu密集型任务的方案记录)