• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Heroku
 

Heroku

on

  • 4,016 views

A small explanative presentation on the Heroku hosting service for your Ruby on Rails applications. Presentation was used for Barcamp Antwerp 2010.

A small explanative presentation on the Heroku hosting service for your Ruby on Rails applications. Presentation was used for Barcamp Antwerp 2010.

Statistics

Views

Total Views
4,016
Views on SlideShare
3,995
Embed Views
21

Actions

Likes
7
Downloads
54
Comments
0

4 Embeds 21

http://www.slideshare.net 10
http://www.fousa.be 5
http://fousa.be 4
http://www.barcampantwerpen.org 2

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • one machine goes down the other stays up <br />
  • don&apos;t do heavy calculations in your web process <br /> instead let a background process do the job <br /> use background jobs when request run longer than 500ms <br /> fetching data from remote APIs, reading RSS feeds, resizing images, and uploading data to S3 <br /> <br />
  • <br />
  • beta testers are currently testing the rails 3 implementation on heroku <br /> heroku makes sure you can always use the last stable rails version <br />
  • <br />
  • unless you purchased something on heroku <br /> you can use amazon service for this <br />
  • <br />
  • <br />
  • <br />

Heroku Heroku Presentation Transcript

  • HEROKU awesome rails hosting
  • WHAT IS HEROKU? ➡ hosting ➡ ruby on rails applications ➡ cloud based services ➡ deployment through git ➡ heroku gem
  • WHY USE HEROKU? ➡ forget about servers ➡ only care about your app ➡ only pay when it booms
  • RAKE ON HEROKU ➡ run your custom rake tasks
  • CONSOLE ON HEROKU ➡ debug your online application
  • DB INTERACTION ➡ do your migrations ➡ push local DB to remote DB ➡ pull remote DB to local DB
  • GEMS ON HEROKU ➡ add to .gems file ➡ installed on deploy/push
  • DYNOS ON HEROKU ➡ individual web server instance ➡ thin server ➡ runs on separate machine
  • WORKERS ON HEROKU ➡ delay job framework ➡ background tasks ➡ 1 delay job at a time ➡ increase/decrease with slider
  • WHEN YOUR APP BOOMS ➡ add dynos ➡ add workers ➡ change plan
  • RAILS 3 ON HEROKU ➡ currently in beta mode ➡ last stable rails version
  • ADD-ONS ON HEROKU ➡ amazon RDS ➡ bundles ➡ sendgrid ➡ custom domains ➡ websolr ➡ cron ➡ ssl ➡ deploy hooks ➡ memcached (beta) ➡ exceptional ➡ zerigo dns ➡ new relic ➡ amqp (beta)
  • PROBLEMS ON HEROKU ➡ first request can be slow ➡ no read write access
  • APPS ON HEROKU ➡ shopify.com ➡ scrumninja.com ➡ flightcaster.com
  • DEMO
  • PICTURES BY... ➡ slide 1: flickr.com/lonesome_cycler ➡ slide 9: flickr.com/squeaks2569 ➡ slide 2: flickr.com/oberazzi ➡ slide 10: flickr.com/micurs ➡ slide 3: flickr.com/soldiersmediacenter ➡ slide 11: flickr.com/neilsingapore ➡ slide 4: flickr.com/mikefink ➡ slide 12: flickr.com/allyzally ➡ slide 5: flickr.com/wwward0 ➡ slide 13: flickr.com/saturnine ➡ slide 6: flickr.com/adesigna ➡ slide 14: flickr.com/istorija ➡ slide 7: flickr.com/spyker3292 ➡ slide 15: flickr.com/jgarber ➡ slide 8: flickr.com/slworking ➡ slide 16: flickr.com/digital1