10
Dhaka December’14 Meetup Kickstart with meteor-boilerplate and monitor with kadira.io @mahtonu

Kickstart with meteor-boilerplate and monitor with kadira.io

Embed Size (px)

Citation preview

Page 1: Kickstart with meteor-boilerplate and monitor with kadira.io

Dhaka December’14 Meetup

Kickstart with meteor-boilerplate and monitor with kadira.io

@mahtonu

Page 2: Kickstart with meteor-boilerplate and monitor with kadira.io

meteor-boilerplate

An MIT Licensed boilerplate for meteorjs projects

http://matteodem.github.io/meteor-boilerplate/

Page 3: Kickstart with meteor-boilerplate and monitor with kadira.io

meteor-boilerplate

npm install -g orion-cli

# Assuming meteor is already installed

orion create appName

cd appName && meteor

Page 4: Kickstart with meteor-boilerplate and monitor with kadira.io

Performance

- Time-Based Performance

- Resource-Based Performance

Page 5: Kickstart with meteor-boilerplate and monitor with kadira.io

Response Time

- Method response time

- Publication (pub/sub) response time

- Initial load time

Page 6: Kickstart with meteor-boilerplate and monitor with kadira.io

Resource Usage

- CPU usage

- Memory usage

- Network usage

Page 7: Kickstart with meteor-boilerplate and monitor with kadira.io

MeteorHacks.com

“We built Kadira: a performance monitoring service used by 1500+ Meteor developers around the world to monitor their production apps.”

Page 8: Kickstart with meteor-boilerplate and monitor with kadira.io

Creating a Kadira App

- First, create an app on Kadira: visit ui.kadira.io.

- Then you'll get an AppId and AppSecret.

- At your app: meteor add meteorhacks:kadira

- Add the following line to a file called server/kadira.js Kadira.connect(“<appId>", “<appSecret>");

- Now monitor/profile at your kadira account

Page 9: Kickstart with meteor-boilerplate and monitor with kadira.io

Creating a Kadira App

Page 10: Kickstart with meteor-boilerplate and monitor with kadira.io

References

• https://bulletproofmeteor.com

• https://meteorhacks.com/

• https://github.com/matteodem/meteor-boilerplate

• https://meteorhacks.com/introduction-to-ddp.html