Re: tomcat without apache in front

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think you've answered your question. Take out Apache. Leave Tomcat
where it is, and just hit Tomcat directly.

Nothing wrong with opening port anything on app servers, just not the
norm. However, an internal app on an internal machine, you should be fine.

singh@xxxxxxxxxxxxxxxxxxx wrote:
>> 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@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx
>>>>>> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>>>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> The official User-To-User support forum of the Apache HTTP Server
>>>>> Project.
>>>>> See for more info.
>>>>> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>>>>> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> _________________________________________________________________
>>>> 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@xxxxxxxxxxxxxxxx
>>> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>>
>>>
>>>
>>>
>>>
>> _________________________________________________________________
>> 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@xxxxxxxxxxxxxxxx
> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>
>
>



Hotmail® has ever-growing storage! Don’t worry about storage limits. Check it out.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux