목요일, 6월 09, 2016

Node.js 프로세스 관리

Node.js 프로세스 관리
2016년 1월 4일 월요일
오후 7:29
Node.js 서버 프로세스 관리 도구
  1. PM2
  2. Phusion passenger
  3. MultitenancyRun multiple Node.js applications on a single server easily and without hassle.
 
Process management and supervision
  1. Node.js processes are automatically started, and automatically restarted when they crash.
 
Scaling and load balancing
  1. Based on current traffic, Phusion Passenger can spawn more Node.js processes to handle the load, or spin down some existing Node.js processes to conserve resources. Phusion Passenger automatically load balances traffic across Node.js process. The load balancing mechanism utilizes a smart "first-available" selection algorithm to avoid problems caused by slow requests. Although Node.js is single-threaded, this approach allows you to utilize multiple CPU cores.
원본 위치 <https://github.com/phusion/passenger/wiki/Phusion-Passenger:-Node.js-tutorial#why>
 

댓글 없음: