Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Keymetrics pm2

3,412 views

Published on

PM2 NodeJS process manager & http://getkeymetrics.com

  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Keymetrics pm2

  1. 1. http://getkeymetrics.com/
  2. 2. http://getkeymetrics.com/ Who am I? Alexandre STRZELEWICZ • Unitech/PM2 initiator • Technology entrepreneur • Epitech graduate • FullStack Javascript developer
  3. 3. http://getkeymetrics.com/https://github.com/Unitech/pm2
  4. 4. http://getkeymetrics.com/ What is PM2 ? • Production Runtime for NodeJS made easy • Fail safe • Performance with ease • Free (AGPLv3) • For IaaS / Dedicated / VPC • OpenSource on GitHub: https://github.com/Unitech/pm2 https://github.com/Unitech/pm2
  5. 5. http://getkeymetrics.com/ What is PM2, technically ? Daemon / Background Software scaling JSON app declaration Restart on change Forever alive Auto reboot Monitoring https://github.com/Unitech/pm2
  6. 6. http://getkeymetrics.com/ Hello World $ npm install pm2 –g $ pm2 start app.js  Executed on background  Kept alive $ pm2 list https://github.com/Unitech/pm2
  7. 7. http://getkeymetrics.com/ PM2, numbers ? • 3680+ stars on • 15,000 downloads per month • All over the world • 40+ contributors • 600+ commits • 370+ days iteration • 300+ tests https://github.com/Unitech/pm2
  8. 8. http://getkeymetrics.com/https://github.com/Unitech/pm2 NEXT STEPS “The best thing about the future is that it comes only one day at a time.”
  9. 9. http://getkeymetrics.com/ (v0,9)
  10. 10. http://getkeymetrics.com/ What’s Next? (v0,9) https://github.com/Unitech/pm2  Deployment built-in Initialize: $ pm2 deploy setup production Deploy: $ pm2 deploy production Revert: $ pm2 deploy revert [n] Execute on server: $ pm2 deploy run XXX
  11. 11. http://getkeymetrics.com/ What’s Next? (v0,9) • PM2 Keep alive dedicated process • Programmatic API • Node harmony flag enabled by default • Better documentation Feature freeze It’s getting more and more professional and powerful (reaching v1,0) https://github.com/Unitech/pm2
  12. 12. http://getkeymetrics.com/https://github.com/Unitech/pm2
  13. 13. http://getkeymetrics.com/ What is Keymetrics Monitoring service that listens to PM2 You use test to avoid functional regression Keymetrics offers you a way to avoid performance regression
  14. 14. http://getkeymetrics.com/ How it works • PM2 daemon sends metrics about your apps • Data is ciphered in AES256 with pub/priv keys Keymetrics stores and classifies data to give you a clear overview of what’s going on
  15. 15. http://getkeymetrics.com/ Metrics / Features Multi server overview Server monitoring WS/HTTP/TCP analytics Error tracking Alerts / Weekly reports Memory Leak detection CPU/Memory profiling
  16. 16. http://getkeymetrics.com/ Linking the dots
  17. 17. http://getkeymetrics.com/ Science & Metrics • Time frame between deployment • Get metrics timeframe summary for every past deployment and know performance / error / computation evolution and compare Every time you will deploy new code you will get a performance diff report
  18. 18. http://getkeymetrics.com/ Smarter data • Big data processing • So many monitoring data, applying Big data processing will provide you blazing reports • Know when, why and where a performance regression happened • Commit revision
  19. 19. http://getkeymetrics.com/ Goal: Fullstack system Production NodeJS runtime Simple deployment system App Performance management Performance regression detection
  20. 20. http://getkeymetrics.com/https://github.com/Unitech/pm2 MVP DEMO
  21. 21. http://getkeymetrics.com/ Thanks https://github.com/Unitech/pm2 http://getkeymetrics.com/ Keymetrics team Alexandre Strzelewicz Jeremy Boissinot

×