• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Performance Issues with HTTP Server Plug-in?

 
Roger Goerke
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Patrick Finnegan
Ranch Hand
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 179
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you like send me your httpd.conf and plugin-cfg.xml files and I will have a look.
 
Roger Goerke
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the offer but the problem was apparently caused by a poorly configured web server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic