• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat and Static Resources

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my organization we are using IIS7 in front of Tomcat 6.0.26. Now, before I get lots of responses that say "Don't use IIS" or "Use Apache" or "Use Tomcat Standalone," trust me, if I could follow that advice I would. IIS is specifically required for our organization and using any other configuration is not an option.

We are doing some load testing on an 8-core 3Ghz, 8GB RAM preproduction server and noticed that, with 75 simulated simultaneous users, we were seeing an average response time of 830ms for our most commonly-accessed static content (CSS, JavaScript and skin image files used on every page). This seemed a little too high to us, so we decided to have IIS serve our static content directly and bypass Tomcat. We followed all the instructions in the Tomcat documentation and DID get the configuration to work. However, average response times for the same subset of static content increased from 830ms to 2950ms, which is extreme and surprising. All of these results are repeatable over and over again.

All conventional wisdom I could find online suggested that the opposite would happen, and my own experience as a programmer tells me that it should. We have checked all IIS performance options and everything is set to more-than adequate levels for the simulated load. Our JSP and Servlet response times did not change, and are much lower than 2950ms, so it seems unlikely (though not impossible) that some performance option in IIS could be causing this issue (seeing as how all the traffic is going through IIS one way or another).

Does anybody know what could be the cause here? We've spend days on this problem and we're not getting anywhere (and by we I mean myself a programmer, my manager and an IIS/server administrator). We just don't know what else to try.

Thanks,

Nick
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic