Saturday, April 4, 2009

How to address Performance Bottlenecks for Network-Limited Problems?

Checking for Network-Limited Problems: One way to identify network-limited performance problems is by getting your JVM to dump out stack traces while your system is under load. You can tell if your system is network limited because your thread dump will show lots of threads waiting in socket reads or writes. See Getting Java VM Dumps and Analyzing Java VM Dumps

Some ways to address network-limited problems include:
  • Reduce the size of your HTML files by limiting comments and white space or redesigning the content of especially large pages.
  • Increase the number of request handling threads. This won't improve the latency experienced by a user who requests a large file, but it will improve total throughput.
  • Get a faster network connection.
  • Locate and correct network bottlenecks

No comments:

Post a Comment