search

Home  >  Q&A  >  body text

node.js - node生产项目是使用pm2启动多个进程比较好,还是程序内使用cluster模块比较好?

阿神阿神2786 days ago615

reply all(3)I'll reply

  • PHPz

    PHPz2017-04-17 16:16:07

    Definitely pm2

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 16:16:07

    • Behavior configuration

    • Source map support

    • PaaS Compatible

    • Watch & Reload

    • Log management

    • Monitoring

    • Module System

    • Max memory reload

    • Cluster Mode

    • Hot reload

    • Development workflow

    • Startup Scripts

    • Auto completion

    • Deployment workflow

    • Keymetrics monitoring

    • API

    See how many you can use. If you can be sure and control the program well, there will be no problem in writing it yourself

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 16:16:07

    Use pm2 for process protection, powerful function

    reply
    0
  • Cancelreply