Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 39003 invoked from network); 20 May 2009 20:54:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 20:54:48 -0000 Received: (qmail 44154 invoked by uid 500); 20 May 2009 20:54:57 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 44127 invoked by uid 500); 20 May 2009 20:54:57 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 44118 invoked by uid 99); 20 May 2009 20:54:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 20:54:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of singh@allumezinfotech.com designates 69.89.21.17 as permitted sender) Received: from [69.89.21.17] (HELO outbound-mail-22.bluehost.com) (69.89.21.17) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 20 May 2009 20:54:44 +0000 Received: (qmail 23543 invoked by uid 0); 20 May 2009 20:54:21 -0000 Received: from unknown (HELO box319.bluehost.com) (69.89.31.119) by outboundproxy2.bluehost.com with SMTP; 20 May 2009 20:54:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=allumezinfotech.com; h=Message-ID:In-Reply-To:References:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:Importance:X-Identified-User; b=Ao4vttnzuQn/+rmr2WpApGLm6DdE5RpHeI5hjVj2O8Yu2hnq3kazSgDGv9uDgcLn5uOUjtGQLMW4Q6ywsRyiaESEte/HqgkJmpHWS1LO6TTlgo3vV75WrNRzeC1wUdtS; Received: from localhost ([127.0.0.1] helo=box319.bluehost.com) by box319.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1M6snt-00041I-7r for users@httpd.apache.org; Wed, 20 May 2009 14:54:21 -0600 Received: from 205.173.93.41 ([205.173.93.41]) (SquirrelMail authenticated user singh@allumezinfotech.com) by box319.bluehost.com with HTTP; Wed, 20 May 2009 14:54:21 -0600 (MDT) Message-ID: <50557.205.173.93.41.1242852861.squirrel@box319.bluehost.com> In-Reply-To: References: Date: Wed, 20 May 2009 14:54:21 -0600 (MDT) From: singh@allumezinfotech.com To: users@httpd.apache.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Identified-User: {1122:box319.bluehost.com:allumezb:allumez.biz} {sentby:program running on server} X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] tomcat without apache in front > > Well, of course, directly to tomcat. Every link in the chain makes the > chain longer and heavier, but you generally cannot lock the gate with a > one-link chain. Apache and Tomcat will do some caching, so it may not > matter. > > Is Tomcat and Apache on the same physical machine? -- Yes Are there other things using Apache -> AJP -> Tomcat, or is this the only thing? -- This is the only thing nothing else What is the general traffic flow and security policy for your environment? -- 2500 hits / minute - no security policy it is an internal app > > My response is not so much about performance as it is opening Tomcat's > port directly to internet traffic. Is it OK to the actors of this > servlet to directly hit Tomcat's port... or will you have Tomcat listen > on port 80/443 directly? This is one thing i have heard from many what's the big deal in opening port 80 of app servers? any pointers > singh@allumezinfotech.com wrote: >> Thanks for reply guys but i think i didnt put my question right ;( let >> me >> rephrase it : >> >> What is better in terms of response and resource utilisation when we >> have >> 2500 hits / min : >> >> 1. Directly on tomcat >> >> 2. Apache> AJP> tomcat >> >> Provided : >> Not static content to be served. >> >> >> >>> You can make the request directly to Tomcat. What port is Tomcat >>> listening on? Are you willing to open that port directly? Think about >>> who/what is accessing that servlet. They will need to know that port. >>> Is that OK? >>> >>> singh@allumezinfotech.com wrote: >>> >>>> Any Suggestions please? >>>> >>>> >>>> >>>>> We have a single servlet application very light weight. >>>>> >>>>> It is just like that servlet is called with some parameter and it >>>>> returns >>>>> some file from "n" number of files on local file system. >>>>> >>>>> It is an old application and some how it is having apache in front of >>>>> tomcat. >>>>> >>>>> What i am thinking is what is more expensive : >>>>> >>>>> 1. Request coming to worker MPM in apache> Request sent using AJP to >>>>> tomcat> >>>>> tomcat creates a new thread> serves back the request. ( if it is >>>>> right >>>>> ) >>>>> >>>>> 2. Request directly coming to tomcat> new thread spawned> request >>>>> served. >>>>> >>>>> Please not there is NO static content to be served. >>>>> >>>>> Is apache prefork or work MPM better in worker mgmt then tomcat ? >>>>> >>>>> Please suggest. >>>>> >>>>> Thanks >>>>> Singh >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> The official User-To-User support forum of the Apache HTTP Server >>>>> Project. >>>>> See for more info. >>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >>>>> " from the digest: users-digest-unsubscribe@httpd.apache.org >>>>> For additional commands, e-mail: users-help@httpd.apache.org >>>>> >>>>> >>>>> >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> The official User-To-User support forum of the Apache HTTP Server >>>> Project. >>>> See for more info. >>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >>>> " from the digest: users-digest-unsubscribe@httpd.apache.org >>>> For additional commands, e-mail: users-help@httpd.apache.org >>>> >>>> >>>> >>>> >>>> >>> _________________________________________________________________ >>> Insert movie times and more without leaving Hotmail�. >>> http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009 >>> >> >> >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server >> Project. >> See for more info. >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> " from the digest: users-digest-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> >> >> >> > > > _________________________________________________________________ > Hotmail� has ever-growing storage! Don�t worry about storage limits. > http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org