Your SlideShare is downloading. ×
0
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Heroku
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Heroku

3,005

Published on

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.

Published in: Technology
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,005
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
55
Comments
0
Likes
7
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide







  • one machine goes down the other stays up
  • don't do heavy calculations in your web process
    instead let a background process do the job
    use background jobs when request run longer than 500ms
    fetching data from remote APIs, reading RSS feeds, resizing images, and uploading data to S3


  • beta testers are currently testing the rails 3 implementation on heroku
    heroku makes sure you can always use the last stable rails version

  • unless you purchased something on heroku
    you can use amazon service for this



  • Transcript

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

    ×