Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 22556 invoked from network); 18 Feb 2000 10:46:48 -0000 Received: from d12lmsgate-2.de.ibm.com (195.212.91.200) by locus.apache.org with SMTP; 18 Feb 2000 10:46:48 -0000 Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22]) by d12lmsgate-2.de.ibm.com (1.0.0) with ESMTP id LAA85732; Fri, 18 Feb 2000 11:46:12 +0100 From: shachor@il.ibm.com Received: from d12mta02.de.ibm.com (d12mta01_cs0 [9.165.222.237]) by d12relay01.de.ibm.com (8.8.8m2/NCO v2.06) with SMTP id LAA44990; Fri, 18 Feb 2000 11:46:02 +0100 Received: by d12mta02.de.ibm.com(Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) id C1256889.003B233B ; Fri, 18 Feb 2000 11:45:56 +0100 X-Lotus-FromDomain: IBMIL@IBMDE To: tomcat-dev@jakarta.apache.org cc: angsuman@technologist.com Message-ID: Date: Fri, 18 Feb 2000 12:45:51 +0200 Subject: Re: Load Balancing Mime-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=6OS1g0mttbLDLAhjuzx2PIioL9vlm2KyszwC9uNEHoO6HYRI0LygAY7V" Content-Disposition: inline --0__=6OS1g0mttbLDLAhjuzx2PIioL9vlm2KyszwC9uNEHoO6HYRI0LygAY7V Content-type: text/plain; charset=us-ascii Content-Disposition: inline I've just check in the latest changes needed to enable load balancing from Apache to several Tomcat processes, so load balancing should now work... You will need to: 1. Extract and build the latest mod_jserv (not the cool build process :-(). 2. Configure Apache to use load balancing (look at http://java.apache.org/jserv/howto.load-balancing.html by Jean-Luc Rochat) 3. Start several Tomcat processes 4. Start Apache You are set. Attached is the tomcat.conf that I used (setup for NT and 2 tomcat processes). > > I was wondering if we could make the balancing algorithm pluggable > Sounds like future work... As for load balancing from a certain tomcat process to other tomcats... IMHO A site big enough to use X tomcat processes should use apache to serve the static pages... Tomcat is not as good as apache in doing that (so say my benchmark). Gal Shachor (See attached file: tomcat.conf) ------------------------------- Gal Shachor IBM Research, Haifa Lab. Email: shachor@il.ibm.com Notes: Gal Shachor/Haifa/IBM@IBMIL Phone: +972-4-8296164 Fax: +972-4-8550070 Address: IBM Haifa Research Lab, Matam, Haifa 31905, Israel --0__=6OS1g0mttbLDLAhjuzx2PIioL9vlm2KyszwC9uNEHoO6HYRI0LygAY7V--