I''d like to know if Rails requires significantly more resources than PHP. Assume the following setups: Rails: Apache 2.2 w/ Passenger MySQL Database PHP: Apache 2.2 w/ MPM worker and Fast CGI MySQL Database In one of my Rails apps running the above setup, I''m at roughly 80mb RAM idle, and for each person that visits the site roughly 10-20mb are taken for each. This seems like a lot and I was wondering if it continues to be like this. PHP seems to require less resources, but based on my limited experience I can''t make a definite conclusion.
On Sun, Jul 19, 2009 at 12:36 AM, Mike C <snibble-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''d like to know if Rails requires significantly more resources than > PHP. >Yes. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Could I get some details on why it does take more resources and what I can do to minimize resource usage as much as possible? On Jul 19, 2:09 am, snacktime <snackt...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Sun, Jul 19, 2009 at 12:36 AM, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''d like to know if Rails requires significantly more resources than > > PHP. > > Yes.
snacktime wrote:> On Sun, Jul 19, 2009 at 12:36 AM, Mike C <snibble-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> >> I''d like to know if Rails requires significantly more resources than >> PHP. >> > > Yes.Or rather, it depends. Rails is a framework, whereas PHP is simply a language. It wouldn''t surprise me if there were PHP frameworks whose resource usage were comparable to that of Rails. I don''t know how the PHP and Ruby interpreters (exclusive of framework) compare in terms of resource usage. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Here''s a top-10 list of PHP frameworks: http://www.phpframeworks.com/ It''s about a year old. Which PHP framework are you wanting to compare to Ruby on Rails? As Marnen said, PHP in itself is a language whereas RoR is a framework. You can only compare PHP to Ruby if you are asking for a language to language comparison... As for Ruby.. http://blog.pluron.com/2009/05/ruby-19-performance.html -- Posted via http://www.ruby-forum.com/.
PHP Framework aims to speed up the creation and maintenance, and also to replace the repetitive coding tasks by power, control and pleasure. More PHP Framework you can view: http://www.phpkode.com/projects/category/php-development-framework/ -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.