tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <>
Subject RE: [OT] Apache and Tomcat together
Date Fri, 16 Jan 2004 06:53:07 GMT
I think the main benefit is the simpler configuration.

mod_proxy has some drawbacks:

- The http request has to be processed twice (once in apache
  and a second time in the tomcat connector). This may 
  effect the performance.
  <Shapira On>Test your application, against your expected 
  load. Don't beleave anyone who claims that something will 
  be slower/faster than another thing<Shapira Off>

- You can't use unix sockets or in process

- Loadbalancing on the apache level migth get less simple 
  than with mod_jk

- I'm not shure if the ease of configuration keeps as simple
  if you start to use https. I'm not shure if ssl has to be 
  configured in apache and tomcat.

If that's ok for you, you can use mod_proxy

> -----Original Message-----
> From: Green, Jeffrey []
> Sent: Thursday, January 15, 2004 7:51 PM
> To: 'Tomcat Users List'
> Subject: RE: [OT] Apache and Tomcat together
> Anyone know about the benefits / detriments of using 
> mod_proxy?  It sets up
> a heck of a lot easier than mod_jk2 and seems to offer the same
> functionality.  A great doc on this is at
> Anyone have any insights?  Having set up both mod_proxy and 
> mod_jk2, I can
> safely say that mod_proxy was much easier for me.
> -----Original Message-----
> From: Christopher Schultz [] 
> Sent: Thursday, January 15, 2004 10:36 AM
> To: Tomcat Users List
> Subject: Re: [OT] Apache and Tomcat together
> Mike,
> >>Apache is faster for static content.
> > 
> > Don't get Yoav started...
> :) I have gotton him started on this, before. It's funny, 
> though... last 
> time I looked at the Tomcat Connector FAQ, it actually says flat out 
> "Apache is faster than Tomcat at serving static content": 
> It does qualify 
> that statement by saying that unless you're talking about 
> high traffic, 
> then it doesn't really matter. However, they *do* make that claim.
> -chris
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> --------------------------------------------------------------
> ----------------
> This message is intended only for the personal and 
> confidential use of the
> designated recipient(s) named above.  If you are not the 
> intended recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not 
> be regarded as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as 
> an official
> statement of Lehman Brothers.  Email transmission cannot be 
> guaranteed to be
> secure or error-free.  Therefore, we do not represent that 
> this information is
> complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message