Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 13:02:52 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Vincent Janelle <random@carnagecopia.com>
Cc:        "Dreamtime.net Inc." <clients@dreamtime.net>, freebsd-smp@FreeBSD.ORG
Subject:   Re: Systat and Ram
Message-ID:  <3C740EFC.BE36E2DD@mindspring.com>
References:  <3C736028.FBD0F093@mindspring.com> <AMEMLPOHFFIAJKMDAFDLKEAODOAA.clients@dreamtime.net> <20020220122922.2bbbd161.random@carnagecopia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Vincent Janelle wrote:
> "Dreamtime.net Inc." <clients@dreamtime.net> wrote:
> > Actually, we need to run anywhere from 30 to 300 httpd processes, 20-25 megs
> > each. We want to know how can we decide if we need more RAM based on
> > 'systat' output.
> 
> If you're using http, you can achieve better scalability once you max out your
> memory and CPU by just adding more machines and a load-balancer..

Depends on the load balancer, and depends on the HTTP
applications.  For simple content, that is correct.
For session content, that's incorrect, and for a lot
of session sensitive CGIs, the state is not shared
between machines in the HTTP cluster.  For host sensitive
state (e.g. session cookies, etc.), you need more than a
simple brain-dead hardware load balancer.

Obviously, if you are developing the applications yourself
and don't make mistakes, then you can use a brain-dead
load balancer with no problem, but many third party
"shopping cart" applications are pretty stupid about
session state.  So is PHP's default session handling,
for that matter.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C740EFC.BE36E2DD>