PM2 & process managers
Në shqip: Menaxherët e proceseve
ShpjegimiSQ
PM2 e mban gjallë një aplikacion Node.js në server: e rinis kur rrëzohet, e nis disa herë për të përdorur të gjitha CPU-të dhe ruan log-et. Supervisor bën të njëjtën gjë për Python.
EnglishEN
PM2 keeps a Node.js app alive on a server: it restarts it when it crashes, runs several copies to use every CPU, and stores logs. Supervisor does the same for Python.
Si ta mendosh
Si një trajner që e ngre lojtarin sapo rrëzohet.
Lexoje në anglisht
Like a coach who picks the player up the moment they fall.
Shembull kodibash
pm2 start server.js -i max
pm2 logs