node nyc

24
Node.js 2015 Alexandre STRZELEWICZ

Upload: alexandre-strzelewicz

Post on 17-Jul-2015

103 views

Category:

Engineering


0 download

TRANSCRIPT

Node.js 2015Alexandre STRZELEWICZ

Who am I?

Alexandre Strzelewicz

❖ CEO Keymetrics (@Techstars)❖ Epitech graduate❖ Technology entrepreneur❖ Full stack developer❖ PM2 author

PM2?

What is PM2?❖ Daemon and process manager for Node❖ Embedded Cluster module ❖ Facilitate Devops work

Stats❖ 6400+ stars on ❖ 500+ tests ❖ 380,000+ unique downloads❖ 1500+ commits❖ 75+ contributors

Lets dive in...

WTF!!!!!WTF!!

DAMN FRENCH

Quick Install

$ npm install pm2 -g

$ pm2 start myapp.js

Quick Start

Deployable

PuppetAnsible

ChefDocker

SSH

Micro service oriented

$ pm2 <start | stop | restart> app

Automatic clustering+ 0sec downtime reload

$ pm2 start app.js -i 4

CPU/mem monitoring

$ pm2 monit

Module installation

$ pm2 install <module>

Upcoming feature for V1.0

I have 15 PM2... How do I monitor that?

How about...

$ pm2 link <secret> <public>

Keymetrics Team

Alex Kocharin

COREMaking things

happen

OSS/PM2Community managers

and contributors

INDIESDevelopers

coding on the beach

Ryan Leonard Yevhen Malinin Eugene Krevenets

Joni ShkurtiPM2/Backend

Jérémy BoissinotCOO

Alexandre StrzelewiczCEO

Antoine Bluchet

Dimitri JorgeBackend

Jean-Nicolas Lagneau Front-end developer Ecole 42

Fernan MoralesFront/Backend

PM2 & Keymetrics

API 2

API 1

API 2

API 1

TCPAES256

SERVER #1

KEYMETRICSSaaS

SERVER #2

Keymetrics features❖ Realtime global dashboard❖ CPU / Memory monitoring❖ Slow routes detection❖ Custom metrics❖ Weekly report❖ Exceptions logging❖ Alerts

And Keymetrics is under rapid development!

DEMO TIME

Log aggregation

$ pm2 logs