strong-pm - 一個功能強大的 Node.js 進程管理工具

jopen 9年前發布 | 21K 次閱讀 strong-pm Node.js 開發

StrongLoop PM是一個功能強大的 Node.js 進程管理工具,內置負載平衡,監控,多主機部署和圖形控制臺。

特性

  • 構建,打包和您的Node應用部署到本地或遠程系統
  • Aggregate & rotate logs
  • 內置的負載均衡
  • 保持進程和集群永遠可用
  • Profile CPU to find event loop stalls
  • Profile memory to find leaks
  • View performance metrics on your application
  • Use graphical tool or CLI
  • Docker support
  • </ul>

    Installation

    Requirements:gitneeds to be installed

    Install the client-side CLI and GUI (slc arc):

    npm install -g strongloop
    slc -h

    Run app

    slc start app.js

    Or to deploy and manage remotely, install the manager on a production server using npm:

    npm install -g strong-pm && sl-pm-install

    Or using docker:

    curl -sSL http://strong-pm.io/docker.sh | sudo /bin/sh

Great for production!

  • Supports remote deploy and management
  • Git-based deploy for easy deployment versioning and rollback
  • Deployment does not have external dependencies (production hosts don't have to fetch from npmjs.org or Git)
  • Docker support
  • Built and supported by Node core maintainers at StrongLoop, battle-tested by enterprise customers

Build & Deploy

  • Multi-host deploy
  • Deploy multiple applications to one Process Manager
  • Zero-downtime application restarts and upgrades
  • Install dependencies, run custom build steps, and prune development dependencies without affecting your source tree
  • SSH, HTTP, or Git-based deploy

Profile

  • Heap snapshots and CPU profiles
  • Profile applications to find performance bottlenecks
  • Trigger CPU profiling when the Node event loop stalls

Manage processes and clusters

  • Use all available CPU cores
  • Automatic restart on failure
  • Log aggregation and management
  • Change cluster size, view clustering info remotely
  • Set up secure access via SSH / HTTPS
  • Manage Nginx load-balancer for multi-host deployments

Metrics

  • View performance metrics such as event loop times, CPU and memory consumption
  • Publish metrics to StatsD-compatible servers, and view in 3rd-party consoles such as:
  • Third-party probe metrics, for example for Memcached, backends such as MongoDB, Redis, MySQL, and so on.

項目主頁:http://www.baiduhome.net/lib/view/home/1435198178310

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!