Pm2 remi-robert

Post on 13-Apr-2017

175 views 1 download

Transcript of 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.

production process manager

A simple way to deploy application

- 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 ?!

๐Ÿ€

- Open source tool

- 329827 downloads the last month on

- ~11 000 ๐ŸŒŸ,and 100 ๐Ÿ‘ฌ on Github

๐Ÿš€

http://github.com/pm2

How ?!

๐€Œ๐€ง๐€ป๐€พ๐Ž๐๐ž๐Ÿ๐ ๐ก๐ข๐ฃ๐ค๐ฅ๐ฆ๐ง๐จ๐ฉ๐ช๐ซ๐ฌ๐ญ๐ฎ๐ฏ๐ฐ๐ฑ๐ฒ๐ณ๐ด๐ต๐ถ๐ท๐ธ๐น๐บ๐ป๐ผ๐ฝ๐พ๐ฟ๐ƒป๐ƒผ๐ƒฝ๐ƒพ๐ƒฟ๐„ƒ๐„„๐„…๐„†๐„ด๐„ต๐„ถ๐†‹๐†Œ๐†๐†Ž๐†๐†œ๐†๐†ž๐†Ÿ๐† ๐†ก๐†ข๐†ฃ๐†ค๐†ฅ๐†ฆ๐†ง๐†จ๐†ฉ๐†ช๐†ซ๐†ฌ๐†ญ๐†ฎ๐†ฏ๐†ฐ๐†ฑ๐†ฒ๐†ณ๐†ด๐†ต๐†ถ๐†ท๐†ธ๐†น๐†บ๐†ป๐†ผ๐†ฝ๐†พ๐†ฟ๐‡€๐‡๐‡‚๐‡ƒ๐‡„๐‡…๐‡†๐‡‡๐‡ˆ๐‡‰๐‡Š๐‡‹๐‡Œ๐‡๐‡Ž๐‡๐‡พ๐‡ฟ๐ˆ€๐ˆ๐ˆ‚๐ˆƒ๐ˆ„๐ˆ…๐ˆ†๐ˆ‡๐ˆˆ๐ˆ‰๐ˆŠ๐ˆ‹๐ˆŒ๐ˆ๐ˆŽ๐ˆ๐ˆ

Executed in Background & Kept Alive

alternative to nodemon et forever

๐Ÿ“Œ

is single thread.

๐ŸŽฉ

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

โœ

Benchmarking:

wrk - a HTTP benchmarking tool

- 400 HTTP connections open

- 10 seconds test

Conclusion๐ŸŽŠ

- Easy to use

- Manage your applications

- Can improve the performance

Event organised by

โ€œTechnology with Impactโ€

http://wiredcraft.com/