cheap way to scale a rails application

Posted by VP on Stack Overflow See other posts from Stack Overflow or by VP
Published on 2010-03-13T10:54:15Z Indexed on 2010/03/13 11:05 UTC
Read the original article Hit count: 273

Filed under:
|
|

I have an application, that is becoming big, but until now, its not giving me a good revenue. That means, short money to re-invest on that. In this scenario, i found a way to make a "cheap distributed rails" deployment.

I've got 4 VPS. All of them are in the same physical server. I added a load balance server running HAproxy in one dedicated VPS. There i pointed my virtual ip address where my domain name is associated. Behind this HAproxy i have more two VPS running my rails APP, passenger and memcache. Both apps servers are looking to the same database server, my 4th VPS. So with $44/month, i mounted a distributed environment. It won't be my final choice, but now, that the budget is short, is that a good way to deploy a rails application? Any pros or cons? It worth my $44/month?

© Stack Overflow or respective owner

Related posts about rails

Related posts about cloud-computing