Shared or VPS/dedicated hosting

Hi, I was wander if anyone can tell based on self expirience what would
be limitations for rails app regard shared hosting. For example on
PHP/MySql db driven app on shared hosting can handle 1000 users a day
without problems. I know there are many factors involved but would like
to hear your thoughts, when would you upgrade and if you would deploy
rails app on shared hosting at all.

thanks in advance,
Bojan

Bojan M.
Informatika Mihelac, Bojan M. s.p. | www.informatikamihelac.com
→ tools, scripts, tricks from our code lab: http://source.mihelac.org

Steve W. wrote:

I’m sure they exist out there somewhere but like I said I’ve yet to see
resources and if your app goes down you usually only have yourself to
blame. I’ve found I can get a RoR system up and running pretty quickly.
Just toss on Ruby 1.84, RubyGems, Rails, Mongrel, and a database (Mysql,
Postgresql, etc.) and Litespeed and your pretty much good to go in
probably an hour or less.

When you think your app is getting slow or overloaded you simply choose
the next plan up (add ram, CPU, etc. to your VPS). Its pretty seamless
if your using Linode, Rimuhosting, or VPSLand.

thanks for your answer Steve.


Bojan M.
Informatika Mihelac, Bojan M. s.p. | www.informatikamihelac.com
→ tools, scripts, tricks from our code lab: http://source.mihelac.org

Bojan M. wrote:

Hi, I was wander if anyone can tell based on self expirience what would
be limitations for rails app regard shared hosting. For example on
PHP/MySql db driven app on shared hosting can handle 1000 users a day
without problems. I know there are many factors involved but would like
to hear your thoughts, when would you upgrade and if you would deploy
rails app on shared hosting at all.

If you know Linux then go the VPS route. I’ve yet to see a Rails host
that didn’t get imapcted by someone else’s poorly written Rails app. Oh
I’m sure they exist out there somewhere but like I said I’ve yet to see
one. My frustration with Textdrive’s unstable Guildford server made me
seek shelter on Linode of which I’ve been very happy with. I’m in the
process of moving a site to VPSLand (Xen) now though as I need Fedora
Core 5 and that isn’t offered by Linode. Any of the big VPS hosting
companies will offer a lineup of packages to scale your application
starting from around $14 per month and going up from there depending how
many more resources you want. I’m also looking into Mac Mini
co-location - thats another possibility over VPS.

Going the VPS route you are better assured your getting the promised
resources and if your app goes down you usually only have yourself to
blame. I’ve found I can get a RoR system up and running pretty quickly.
Just toss on Ruby 1.84, RubyGems, Rails, Mongrel, and a database (Mysql,
Postgresql, etc.) and Litespeed and your pretty much good to go in
probably an hour or less.

When you think your app is getting slow or overloaded you simply choose
the next plan up (add ram, CPU, etc. to your VPS). Its pretty seamless
if your using Linode, Rimuhosting, or VPSLand.