Unless of course you need mod_rewrite. We also handle millions a day with
exactly this set up.

Gary Evesson
Decentrix Inc

-----Original Message-----
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 19, 2007 1:30 PM
To: Tomcat Users List
Subject: Re: performance with apache and tomcat

unless you explicitely need the httpd I wouldn't put it in front of
tomcat, since besides less performance and security issues (last one
like a month (?) ago with mod_jk) it doesn't bring you any benefits.
Without knowing your requests (duration, resources they consume etc)
its hard to make any estimations at all, but "normally" (whatever
normally is) and on fair hardware 40 requests a second are easily
served by one tomcat. So you could set up two machines with tomcats,
put the traffic on one of them and let your hw loadbalancer perform
the failover to the spare machine if needed.

regards
Leon

P.S. There are indeed some real scenarios, where a httpd in front
would be useful: down page, ssl, port 80 stress, but since you have a
loadbalancer, it will be serving it much better as httpd, so use your
lb features.

On 4/19/07, Eqbal <[EMAIL PROTECTED]> wrote:
> Hello,
>
> We are planning on using Tomcat as the Servlet
> container for one of our production systems. I would
> like to know if there are any performance issues using
> it together with Apache webserver 2.0 and the ajp
> connector (using mod_rewrite). Is performance expected
> to be better if we double up Tomcat as a webserver and
> not use apache at all.
> I heard an opinion that using apache with tomcat may
> mean worse performance?
> The site is a medium traffic site with about 800
> concurrent users, about 40 hits per second. We plan on
> using a hardware load balancer and we were not
> planning on putting the webserver outside the
> firewall, tomcat behind the firewall kind of
> configuration, so our webserver and app server are on
> the same hardware (Suse Linux). Original idea was to
> place static files on the webserver (apache 2.0) and
> servlets/jsps on Tomcat.
> I appreciate any feedback.
> Is this list searchable somewhere on the web? So I can
> search any pervious discussions on this topic?
>
> Thanks.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to