I've a Slice 256 with 4 Rails 1.2.6 sites running pretty decently on Lighttpd + FastCGI (Ubuntu Server 8.04 LTS upgraded from 6.06 LTS); although it's such and old configuration, it's proven reliable enough for my smallish websites.
Now I'd like to upgrade some to Rails 2.x and I'm wondering if the same Slice 256 can take an Apache2 + Passenger configuration, since it worked great on my local development Linux box.
So my question is: Is a Slice 256 enough for Apache2 + Passenger hosting AT LEAST 4 Rails sites?
Any advice and experiencies on this will be greatly appreciated.
Generating a unique file path with Polymorphic Paperclip
How do you append a filter to the very end of a filter chain from a superclass?
Methodology for a Rails app
And to answer your question: It depends..
Extension/plugin/module system for a Ruby on Rails application?
Could you run four Twitters, of course not.
Newbie question attribute from associated table not showing up in index view
Could you run 4 sites that will have 1 (or less) concurrent user between them then yes, you could..
Quick and easy Slicehost slices
Capistrano + thin + nginx with user not allowed to sudo howto?
File storage in Heroku - alternatives? [closed]
I'm assuming what you mean by "4 sites" is 4 rails instances.
2 is probably a better fit for a 256MB slice, and even that may be pushing it if you need to run cron/rake tasts or things like that..
I do know that moving from 2.2 to 2.3 has some features to save memory (more specifically with routes).. If these are production sites, I would recommend setting up a new 256 slice and trying the upgrade.
It's good to have a development slice anyways..
will sometimes hit 420MB of memory.. Of course, the answer really is "it depends".
It depends on your code, your traffic, your server, your database schema, your table indexes, etc..
This means that it can process two parallel requests at the same time.
(correct me if i'm wrong about that one) So as Nick was saying, it all depends on how many hits your (clients) sites are getting..