Thanks for your email. The answer to the question as to how much of a performance gain we would get by integrating Apache is something that I don't fully understand. I always hear people saying that if you have a lot of static requests, Apache will give you a performance boost compared to HTTP connector in Tomcat. I personally like simplicity and would like it better not having to connect Tomcat to Apache, even if it may be at the cost of a little bit of performance. We're building this web application for a client and right now the client is using Apache in conjunction with Tomcat. The static stuff I'm talking about are being served by Apache right now. If I could convince them that it wouldn't cause a performance problem if we ported all that static material into Tomcat, then I'd rather go that way. Do you have any ideas on how I could make that case?
And also are there ways to improve Tomcat's performance of serving static files? Thanks, Mete ---------- Original Message ---------------------------------- From: "James Carman" <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> Date: Mon, 24 Mar 2003 11:21:15 -0500 >The real question is how big of a performance problem is the DefaultServlet >in Tomcat compared to Apache. Are you REALLY losing THAT much performance >by letting the DefaultServlet serve those static files? Is it necessary? > >----- Original Message ----- >From: "Mete Kural" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Sent: Monday, March 24, 2003 3:20 AM >Subject: JDBCRealm w/ Apache, How to??? > > >> Hi, >> >> I am perplexed at this interesting problem. We want to use JDBCRealm to >authenticate users in Tomcat, but yet we want to serve static stuff via >Apache to improve performance (we have a lot of static material behind >authentication). If we set up Tomcat as a worker for Apache using the JK2 >connector, I don't see how requests for static files are going to be >authenticated via JDBCRealm, since Tomcat doesn't even know about these >static requests in the first place due to the fact that Apache handles them >right away without dispatching them to Tomcat. I'm thinking that if we could >somehow set up Apache to be a worker for Tomcat, and Tomcat received all >requests and dispatched those that are static to Apache, then all requests >would be authenticated via JDBCRealm. But I don't know how to do that >neither if this is possible at all. Do you have any ideas on how to >authenticate "every request" with JDBCRealm yet serve only static stuff with >Apache. >> >> Thanks, >> Mete >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
