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?
>
> si...@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-unsubscr...@httpd.apache.org
>>>    "   from the digest: users-digest-unsubscr...@httpd.apache.org
>>> For additional commands, e-mail: users-h...@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-unsubscr...@httpd.apache.org
>>    "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to