29.01.2013 Views

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Server</strong> hardware and operating system layer<br />

Take the time to verify that the servers used in the application environment have<br />

been tuned adequately. This includes network options, TCP/IP settings, and even<br />

possibly kernel parameters. Verify disk configurations and layout as well. The<br />

tuning at this layer can be quite difficult without a specialist in the server<br />

hardware or the operating system, but the adjustments can lead to significant<br />

improvements in throughput.<br />

7.3.3 <strong>Application</strong> environment tuning<br />

Within the <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> environment, there are many settings<br />

that can increase application capacity and reduce performance issues. The<br />

purpose of this section is not to directly discuss those tuning parameters. This<br />

section, however, should generate some thoughts on what settings to consider<br />

when designing a <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> environment.<br />

Web server<br />

The Web server with the <strong>WebSphere</strong> plug-in should be tuned carefully. There are<br />

many different configuration options that impact the performance such as<br />

keep-alive settings, number of concurrent requests and, so on. The number of<br />

concurrent requests is perhaps the most critical factor. The Web server must<br />

allow for sufficient concurrent requests to make full use of the application server<br />

infrastructure, but should also act as a filter and keep users waiting in the<br />

network and avoid a flooding of the applications servers if more requests as the<br />

system can handle are coming in.<br />

As a rough initial start value for testing the maximum concurrent threads can be<br />

set as follows:<br />

MaxClients = (((TH + MC) * WAS) * 1.2 1 ) / WEB<br />

Where:<br />

– TH: Number of threads in the Web container<br />

– MC: MaxConnections setting in the plugin-cfg.xml<br />

– WAS: Number of <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> servers<br />

– WEB: Number of Web servers<br />

DMZ secure proxy server<br />

The DMZ secure proxy server is designed as a possible replacement of the Web<br />

server with the plug-in. The same tuning considerations apply for the DMZ<br />

secure proxy as they do for the Web server with the plug-in loaded.<br />

1 This allows 20% ot the threads to serve static content from the Web server<br />

Chapter 7. Performance, scalability, and high availability 237

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!