Upload
m-a-hossain-tonu
View
913
Download
0
Embed Size (px)
Citation preview
Dhaka December’14 Meetup
Kickstart with meteor-boilerplate and monitor with kadira.io
@mahtonu
meteor-boilerplate
An MIT Licensed boilerplate for meteorjs projects
http://matteodem.github.io/meteor-boilerplate/
meteor-boilerplate
npm install -g orion-cli
# Assuming meteor is already installed
orion create appName
cd appName && meteor
Performance
- Time-Based Performance
- Resource-Based Performance
Response Time
- Method response time
- Publication (pub/sub) response time
- Initial load time
Resource Usage
- CPU usage
- Memory usage
- Network usage
MeteorHacks.com
“We built Kadira: a performance monitoring service used by 1500+ Meteor developers around the world to monitor their production apps.”
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
Creating a Kadira App
References
• https://bulletproofmeteor.com
• https://meteorhacks.com/
• https://github.com/matteodem/meteor-boilerplate
• https://meteorhacks.com/introduction-to-ddp.html