Performance issues when adding Tomcat JK redirector to IIS's Default Web Site?
Dear All I've tried googling this but can't find much, so I was hoping one of you guys might be able to help me. My web application lives under IIS's Default Web Site. It needs to use the Tomcat JK redirector, so I have added the redirector as an ISAPI Filter on the Default Web Site. This means any websites which live under the Default Web Site will use the redirector. This is fine, however, there are other third-party websites which live under IIS's Default Web Site, which means the change I made above (adding the redirector as an ISAPI Filter on the Default Web Site) also affects these third party websites. So my question is this: Are there any known performance issues with the Tomcat JK redirector, in particular, any performance issues which could affect the third-party websites as explained in my example above? Any advice appreciated. Cheers Steve
Re: Performance issues when adding Tomcat JK redirector to IIS's Default Web Site?
Steve, you're likely to get more specific answers if you can tell us versions: what version of the redirector, and what versions of IIS? Also, can you tell us whose instructions you followed to get it working, as there are some out there that are... how shall I say it... less than ideal :-). Cheers, - Peter On 15 February 2010 11:30, Steve Ryan st...@acme.ie wrote: Dear All I've tried googling this but can't find much, so I was hoping one of you guys might be able to help me. My web application lives under IIS's Default Web Site. It needs to use the Tomcat JK redirector, so I have added the redirector as an ISAPI Filter on the Default Web Site. This means any websites which live under the Default Web Site will use the redirector. This is fine, however, there are other third-party websites which live under IIS's Default Web Site, which means the change I made above (adding the redirector as an ISAPI Filter on the Default Web Site) also affects these third party websites. So my question is this: Are there any known performance issues with the Tomcat JK redirector, in particular, any performance issues which could affect the third-party websites as explained in my example above? Any advice appreciated. Cheers Steve - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Performance issues when adding Tomcat JK redirector to IIS's Default Web Site?
Hi Peter Thanks for your reply. To answer your questions: I am using IIS 6 and IIS 7. I am using the latest version of the redirector, i.e. JK-1.2.28. Our technical architect decided how we should use the redirector. This is the basic design: IIS - Default Web Site (ISAPI Filter = isapi_redirect.dll) --- Virtual directory for our web application --- Virtual directory for the redirector --- Virtual directory for other third-party website IIS Application Pools - DefaultAppPool (may be used by Other third-party website) - AppPool for our web application - AppPool for the redirector So as you can see, all the virtual directories live under the Default Web Site. The isapi_redirect.dll is added as an ISAPI Filter for the entire Default Web Site, which means all the virtual directories under Default Web Site will be affected by this. My worry is it might impact Other third-party website. Thanks for your help. Cheers Steve -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: 15 February 2010 11:47 To: Tomcat Users List Subject: Re: Performance issues when adding Tomcat JK redirector to IIS's Default Web Site? Steve, you're likely to get more specific answers if you can tell us versions: what version of the redirector, and what versions of IIS? Also, can you tell us whose instructions you followed to get it working, as there are some out there that are... how shall I say it... less than ideal :-). Cheers, - Peter On 15 February 2010 11:30, Steve Ryan st...@acme.ie wrote: Dear All I've tried googling this but can't find much, so I was hoping one of you guys might be able to help me. My web application lives under IIS's Default Web Site. It needs to use the Tomcat JK redirector, so I have added the redirector as an ISAPI Filter on the Default Web Site. This means any websites which live under the Default Web Site will use the redirector. This is fine, however, there are other third-party websites which live under IIS's Default Web Site, which means the change I made above (adding the redirector as an ISAPI Filter on the Default Web Site) also affects these third party websites. So my question is this: Are there any known performance issues with the Tomcat JK redirector, in particular, any performance issues which could affect the third-party websites as explained in my example above? Any advice appreciated. Cheers Steve - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Performance issues when adding Tomcat JK redirector to IIS's Default Web Site?
Apologies, for some reason the formatting of my e-mail get messed up. I have reformatted below: Hi Peter Thanks for your reply. To answer your questions: I am using IIS 6 and IIS 7. I am using the latest version of the redirector, i.e. JK-1.2.28. Our technical architect decided how we should use the redirector. This is the basic design: IIS - Default Web Site (ISAPI Filter = isapi_redirect.dll) --- Virtual directory for our web application --- Virtual directory for the redirector --- Virtual directory for other third-party website IIS Application Pools - DefaultAppPool (may be used by Other third-party website) - AppPool for our web application - AppPool for the redirector So as you can see, all the virtual directories live under the Default Web Site. The isapi_redirect.dll is added as an ISAPI Filter for the entire Default Web Site, which means all the virtual directories under Default Web Site will be affected by this. My worry is it might impact Other third-party website. Thanks for your help. Cheers Steve -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: 15 February 2010 11:47 To: Tomcat Users List Subject: Re: Performance issues when adding Tomcat JK redirector to IIS's Default Web Site? Steve, you're likely to get more specific answers if you can tell us versions: what version of the redirector, and what versions of IIS? Also, can you tell us whose instructions you followed to get it working, as there are some out there that are... how shall I say it... less than ideal :-). Cheers, - Peter On 15 February 2010 11:30, Steve Ryan st...@acme.ie wrote: Dear All I've tried googling this but can't find much, so I was hoping one of you guys might be able to help me. My web application lives under IIS's Default Web Site. It needs to use the Tomcat JK redirector, so I have added the redirector as an ISAPI Filter on the Default Web Site. This means any websites which live under the Default Web Site will use the redirector. This is fine, however, there are other third-party websites which live under IIS's Default Web Site, which means the change I made above (adding the redirector as an ISAPI Filter on the Default Web Site) also affects these third party websites. So my question is this: Are there any known performance issues with the Tomcat JK redirector, in particular, any performance issues which could affect the third-party websites as explained in my example above? Any advice appreciated. Cheers Steve - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Performance issues when adding Tomcat JK redirector to IIS's Default Web Site?
On 02/15/2010 12:30 PM, Steve Ryan wrote: Are there any known performance issues with the Tomcat JK redirector, in particular, any performance issues which could affect the third-party websites as explained in my example above? Since this is filter it will participate in every request. Now this might sound scary but the actual participation is limited to matching the url with the uriworkermap.properties list. Depending on the rules used this might be as simple as a few strcasecmp operations or few regex matchings, but on any decent hardware this should be very fast. How fast, well to get a precise number you will have to measure it, but it should be fast enough so it won't be measurable without using high performance timers. Of course there are few other operations involved with each request, and the largest performance degradation will be involved with logging if you use debug level since this will force writing to the file for each request even the one not going trough isapi_redirector. However using debug logging might be worse-case scenario proof of concept since you will have in the logs the amount of time spend for each request inside isapi_redirector, so it will give you the sense of the performance degradation. Of course this time will include the time for actual logging, so the production timing would be much less. Regards -- ^TM - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org