Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Deploying Rails App Personal notes on rails deployment Mayank Sharma http://www.revu.in
Disclaimer <ul><li>Random bits of learning from my Rails hacking. </li></ul>
Rails Deployment <ul><li>Self hosting (Amazon/Rackspace) </li></ul><ul><ul><li>Install all packages your self </li></ul></...
Deployment on Heroku <ul><li>Just 4 steps to create and launch your application online. </li></ul><ul><li>Deployment as si...
Why I Like Heroku <ul><li>Provides highly optimized bare bones Rails stack </li></ul><ul><li>Takes care of caching and loa...
Scaling the Cloud way <ul><li>DB heavy app? Just add a dedicated DB server </li></ul><ul><li>Too many hits? Use eternal ca...
Heroku's Architecture <ul><li>Multi-Tenant (Controversial but works) </li></ul><ul><li>Fully Managed (DB/HTTP/Rails stack)...
Deployment in Action <ul><li>Revu is a social micro-review and recommendation site. </li></ul><ul><li>Uses your existing s...
revu bcb24
Upcoming SlideShare
Loading in …5
×

Deploying Rails App

1,368 views

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.

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

Published in: Self Improvement
  • Be the first to comment

  • Be the first to like this

Deploying Rails App

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

×