YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Pm2 remi-robert

Rémi ROBERT

remirobert

!𐀌𐀧𐀻𐀾𐁎𐁏𐁞𐁟𐁠𐁡𐁢𐁣𐁤𐁥𐁦𐁧𐁨𐁩𐁪𐁫𐁬𐁭𐁮𐁯𐁰𐁱𐁲𐁳𐁴𐁵𐁶𐁷𐁸𐁹𐁺𐁻𐁼𐁽𐁾𐁿𐃻𐃼𐃽𐃾𐃿𐄃𐄄𐄅𐄆𐄴𐄵𐄶𐆋𐆌𐆍𐆎𐆏𐆜𐆝𐆞𐆟𐆠𐆡𐆢𐆣𐆤𐆥𐆦𐆧𐆨𐆩𐆪𐆫𐆬𐆭𐆮𐆯𐆰𐆱𐆲𐆳𐆴𐆵𐆶𐆷𐆸𐆹𐆺𐆻𐆼𐆽𐆾𐆿𐇀𐇁𐇂𐇃𐇄𐇅𐇆𐇇𐇈𐇉𐇊𐇋𐇌𐇍𐇎𐇏𐇾𐇿𐈀𐈁𐈂𐈃𐈄𐈅𐈆𐈇𐈈𐈉𐈊𐈋𐈌𐈍𐈎𐈏𐈐💻📲

@remi936

https://www.youtube.com/watch?v=ixJ2O1PUrSI

I prepared it very carefully, I did some practices, and I hope you guys could enjoy that, and finally learn something useful from my presentation.

Page 2: Pm2 remi-robert

production process manager

A simple way to deploy application

Page 3: Pm2 remi-robert

- Processus management Daemon / background

- Monitoring

https://www.youtube.com/watch?v=84d35TwX3fA

https://www.youtube.com/watch?v=a0zGAUn_dS4

- Intelligent reboot

- JSON Configuration

Run your application forever, and no matter what !

https://www.youtube.com/watch?v=69E5xmF8j-o

- Software scaling

What is it ?!

🏀

Page 4: Pm2 remi-robert

- Open source tool

- 329827 downloads the last month on

- ~11 000 🌟,and 100 👬 on Github

🚀

http://github.com/pm2

Page 5: Pm2 remi-robert

How ?!

𐀌𐀧𐀻𐀾𐁎𐁏𐁞𐁟𐁠𐁡𐁢𐁣𐁤𐁥𐁦𐁧𐁨𐁩𐁪𐁫𐁬𐁭𐁮𐁯𐁰𐁱𐁲𐁳𐁴𐁵𐁶𐁷𐁸𐁹𐁺𐁻𐁼𐁽𐁾𐁿𐃻𐃼𐃽𐃾𐃿𐄃𐄄𐄅𐄆𐄴𐄵𐄶𐆋𐆌𐆍𐆎𐆏𐆜𐆝𐆞𐆟𐆠𐆡𐆢𐆣𐆤𐆥𐆦𐆧𐆨𐆩𐆪𐆫𐆬𐆭𐆮𐆯𐆰𐆱𐆲𐆳𐆴𐆵𐆶𐆷𐆸𐆹𐆺𐆻𐆼𐆽𐆾𐆿𐇀𐇁𐇂𐇃𐇄𐇅𐇆𐇇𐇈𐇉𐇊𐇋𐇌𐇍𐇎𐇏𐇾𐇿𐈀𐈁𐈂𐈃𐈄𐈅𐈆𐈇𐈈𐈉𐈊𐈋𐈌𐈍𐈎𐈏𐈐

Executed in Background & Kept Alive

alternative to nodemon et forever

Page 6: Pm2 remi-robert

📌

Page 7: Pm2 remi-robert

is single thread.

🎩

Page 8: Pm2 remi-robert

Let’s give it a shot ! How to improve the performance of your application

💡1 launch the script2 presentation interface and process3 check the auto balancing and single4 benchmarking

Page 9: Pm2 remi-robert

Benchmarking:

wrk - a HTTP benchmarking tool

- 400 HTTP connections open

- 10 seconds test

Page 10: Pm2 remi-robert

Conclusion🎊

- Easy to use

- Manage your applications

- Can improve the performance

Page 11: Pm2 remi-robert

Event organised by

“Technology with Impact”

http://wiredcraft.com/