On 6/25/07, lightbulb432 <[EMAIL PROTECTED]> wrote:


Any web application that needs to scale wouldn't use httpd (or
> anything else) in front of tomcat, so the question in- or out-process
> tomcat doesn't matter. From 5 high performance application I know the
> details of, 1 is still using apache in front; more out of habbit,
> rather than by need. Others are using a hw loadbalancer in front of x
> tomcat servers, and some servers for static content (which can be
> apache httpd, but is mostly something different) which are parallel to
> the tomcat servers. So the loadbalancer decides which server to ask
> for specific content type.

You're actually the first person I've heard to say that apps that need to
scale would not use HTTPD. I've read the exact opposite on multiple
occassions, but as I'm a relative newbie to Tomcat I'm hoping people on this
mailing list can correct me. Could you expand on your point further?

I don't want to open this can of worms again, I think there were about
1000 discussions in the past, you should check the archives if you
want the details. Basically the anti-httpd fraction (which i belong
to) states: thats usage of httpd is

a) less secure than usage of tomcat
alone (at least it doesn't add any security cause requests are passed
along, and the last security issue was in the c code of mod_jk ->
httpd).

b) less performant, since you add another node which does nothing but
consumes time.


How would hardware load balancers go about handling sticky sessions? Or
would you have to design for a stateless web tier so that any Tomcat
instance will do upon the next request?

HW loadbalancers can handle sticky sessions far better than apache.
You can stick it on cookies, path elements, source ip-adresses, page
content, load, colour of users hair....
On the minus side they start at 10K USD and you usually need 2 of them.



You mention that when you use a static content server, it's generally
something other that HTTPD. Is there a particular reason for that? What
static servers have you generally seen in use apart from HTTPD - are there
things that just work "better" in the setup you described than others?

http://lighttpd.net/


regards
Leon

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to