Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to write CPU optimized Meteor apps

arunoda
October 15, 2014

How to write CPU optimized Meteor apps

Here are few simple techniques you can follow to make your Meteor application perform better from day one.

arunoda

October 15, 2014
Tweet

More Decks by arunoda

Other Decks in Programming

Transcript

  1. CPU

  2. Upload and Download Wrong Way: Let’s use DDP - it’s

    cool HTML APIs Meteor Methods Store them in MongoDB … Download them via Methods Raw Data to Image
  3. Upload and Download Correct Way: Use s3 Meteor call (get

    a s3 pre-signed URL) directly upload to s3 … simply load it from s3 better if used CDN
  4. Know your Oplog Meteor listen for all the changes At

    Kadira We use two DBs Meteor via oplog data collector insert metrics