Your SlideShare is downloading. ×
Deploying Rails App
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

Deploying Rails App

1,177

Published on

Heroku is one of the most convenient and fast way to deploy a Rails App. This presentation highlights some of the key attributes of deployment and how Heroku makes it convenient. …

Heroku is one of the most convenient and fast way to deploy a Rails App. This presentation highlights some of the key attributes of deployment and how Heroku makes it convenient.

These are also my personal learning on Rails deployment while using heroku for http://www.revu.in

Published in: Self Improvement
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,177
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
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

Transcript

  • 1. Deploying Rails App Personal notes on rails deployment Mayank Sharma http://www.revu.in
  • 2. Disclaimer
    • Random bits of learning from my Rails hacking.
  • 3. Rails Deployment
    • Self hosting (Amazon/Rackspace)
      • Install all packages your self
      • Fine tune the system for caching/DB access/Load balancing etc...
      • Full independece at the cost of shifting focus from what you should really be doing (development)
    • Managed Hosting (Heroku/Engineyard)
      • Forget sysadmin to people who do it best.
      • Faster deployment and truly scale to your requirements.
  • 4. Deployment on Heroku
    • Just 4 steps to create and launch your application online.
    • Deployment as simple as a git push.
    • Free account is just about enough for your validations.
  • 5. Why I Like Heroku
    • Provides highly optimized bare bones Rails stack
    • Takes care of caching and load balancing on its own.
    • Uses git as a way of deployment, hence no other deployment framework has to be learnt.
    • Feels like deploying on your m/c. No code replication (atleast not in your control)
    • The basic free plan is just enough for a quick prototype.
  • 6. Scaling the Cloud way
    • DB heavy app? Just add a dedicated DB server
    • Too many hits? Use eternal caching or just increase the number of threads.
    • Pay exactly for what you need and nothing more and scale in real time.
    • Basically forget architecturing your app and focus only on development.
    • Love ruby for gems? You will love Heroku for Add-ons.
  • 7. Heroku's Architecture
    • Multi-Tenant (Controversial but works)
    • Fully Managed (DB/HTTP/Rails stack)
    • Dyno Grid (Scale as you grow)
    • Amazing HTTP Caching (Varnish)
    • A must study for web app architectures
    • http://heroku.com/how/architecture
  • 8. Deployment in Action
    • Revu is a social micro-review and recommendation site.
    • Uses your existing social network on Facebook/Twitter.
    • Allows submission over SMS and auto-publish to FB/Twitter
    • Works on just 15$ a month on Heroku.
    http://www.revu.in
  • 9. revu bcb24

×