Noob ques:50mb of memory on mongrel and LightTPD w/ FastCGI

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

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?

thanks

koloa,

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 J.
acts_as_solr => http://acts-as-solr.rubyforge.org

hello Thiago, thanks for the link. i will look into it.