ruby on rails - techniques to deploy web application: heroku vs in house vs vps ect ect -


i'm looking document explains techniques make deployment of web applications: in cloud, in-house, in housing ect ect ... every technique know pros , cons, general idea.

i searched online have not found comprehensive , interesting.

can me?

apps

web apps have same structure -- series of files running on server "stack", accessed sequentially middleware, or framework-based load structure

your question, therefore, more stack going scaleable, efficient, robust & expansive (can add resources). here options:


heroku

  • "managed" cloud (environment set up)
  • runs off aws instances
  • versatile (runs gem / app)
  • owned salesforce
  • lots of add-ons
  • highly scalable
  • not sure price
  • easy deployment (git push heroku master)

cloud (aws / rackspace)

  • "full" cloud
  • you're responsible environment (os, gems, ruby ver etc)
  • you're responsible uptime
  • you have maintain db etc yourself
  • scaling can pain in ass
  • can deploy app in totally bespoke environment
  • performance won't issue (have 100's of servers pool from)

vps

  • "shared" hosting
  • have install environment yourself
  • very tricky keep gems / ruby / rails date
  • have maintain db etc yourself
  • not many companies offer decent vps
  • costs more heroku
  • not scaleable
  • if else causes issues on server, app gets hit too

we use heroku "baby" apps - aws / rackspace apps growth


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -