with 50mb memory dedicated to a small - medium application...what is considered small to medium? i guess i am trying to think of it as how many requests to the application per minute can a application with 50mb safely handle? lets say the request is a basic ''get'' from the db with no db relationship or calculation.. like a site such as imageshack where users just ''get'' the photo. how many of these gets per minute can a 50mb memory handel? how is mongrel vs lightTPD w/ fastCGI compare to in speed? thanks -- 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-/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 -~----------~----~----~----~------~----~------~--~---
Thiago Jackiw
2007-Jan-11 20:35 UTC
Re: noob ques:50mb of memory on mongrel and LightTPD w/ Fast
koloa wrote:> with 50mb memory dedicated to a small - medium application...what is > considered small to medium? > > i guess i am trying to think of it as how many requests to the > application per minute can a application with 50mb safely handle? lets > say the request is a basic ''get'' from the db with no db relationship or > calculation.. like a site such as imageshack where users just ''get'' the > photo. how many of these gets per minute can a 50mb memory handel? how > is mongrel vs lightTPD w/ fastCGI compare to in speed? > > thankskoloa, An useful little app that helps you test request performances is httperf (http://www.hpl.hp.com/research/linux/httperf/), you can do things such as httperf --hog --server YOUR_SERVER --num-conn 100 --rate 10 --timeout 5 Which creates 100 connections to your host at a fixed rate of 50 per second, sends a request, receives the reply, closes the connection, and then prints some performance statistics. And to see what your server is capable of handling just play with the number of connections, etc. -- Thiago Jackiw acts_as_solr => http://acts-as-solr.rubyforge.org -- 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-/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 -~----------~----~----~----~------~----~------~--~---
hello Thiago, thanks for the link. i will look into it. -- 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-/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 -~----------~----~----~----~------~----~------~--~---