httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Morgan <josephmmor...@hotmail.com>
Subject Re: [users@httpd] tomcat without apache in front
Date Wed, 20 May 2009 15:33:38 GMT

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?   Are there other 
things using Apache -> AJP -> Tomcat, or is this the only thing?  What 
is the general traffic flow and security policy for your environment?

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?

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
Mime
View raw message