aspose file tools*
The moose likes Websphere and the fly likes Performance Issues with HTTP Server Plug-in? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Performance Issues with HTTP Server Plug-in?" Watch "Performance Issues with HTTP Server Plug-in?" New topic
Author

Performance Issues with HTTP Server Plug-in?

Roger Goerke
Greenhorn

Joined: Sep 16, 2002
Posts: 9
Are there any know performance issues with the HTTP Server Plug-in (v 4.0) ? We were testing our system with a cloned environment. Two app servers on separate machines (both Solaris 2.8) are being fed by one web server (on Solaris 2.8). The Round-Robin load management algorithm was being used and Cookies for Session affinity. This configuration was giving response times that were 10x the appserver alone (using the built-in web server), for fairly simple servlet requests.
By removing the Virtual Host filter from the Route in the plugin-cfg.xml file we were able to reduce the response time to approx 2x the appserver alone. Why did that work? Also what is the downside to running without a Virtual Host filter.


Yes. Shrubberies are my trade. I am a shrubber. <br />My name is 'Roger the Shrubber'.<br />I arrange, design, and sell shrubberies.
Patrick Finnegan
Ranch Hand

Joined: Mar 05, 2002
Posts: 179
Ensure that your virtual host definitions in the http.config are defined with raw ip addresses resolved from the local hosts file. Map these apache virtual hosts to websphere virtual hosts. Of course websphere is still doing all the fileserving. It's more efficient to separate static data out of the .ear file and serve it from the apache doc root.
e.g.
<VirtualHost 175.222.22.33 192.111.222.333>
ServerName www.patrick.com.au
ErrorLog "|D:\ibm\httpserver\rotatelogs D:\httplogs\patricks\error_logs\patricks_error.log 86400"
CustomLog "|D:\ibm\httpserver\rotatelogs D:\httplogs\patricks\access_logs\patricks_access.log 86400" analog env=!nimda
CustomLog "|D:\ibm\httpserver\rotatelogs D:\httplogs\patricks\access_logs\patricks_access_codered.log 86400" analog env=nimda
</VirtualHost>
Roger Goerke
Greenhorn

Joined: Sep 16, 2002
Posts: 9
Perhaps I did not mention that in this case there is no static html. The application consists of only servlets. There are no EJB's in the mix either.
Patrick Finnegan
Ranch Hand

Joined: Mar 05, 2002
Posts: 179
If you like send me your httpd.conf and plugin-cfg.xml files and I will have a look.
Roger Goerke
Greenhorn

Joined: Sep 16, 2002
Posts: 9
Thank you for the offer but the problem was apparently caused by a poorly configured web server.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Performance Issues with HTTP Server Plug-in?