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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.3.2 System tuning<br />

To measure the scaling success you need to generate a workload that meets the<br />

following characteristics:<br />

► Measurable<br />

A metric that can be quantified, such as throughput and response time.<br />

► Reproducible<br />

The same results can be reproduced when the same test is executed multiple<br />

times.<br />

► Static<br />

The same results can be achieved no matter for how long you execute the<br />

run.<br />

► Representative<br />

The workload realistically represents the stress to the system under normal<br />

operating considerations.<br />

Workload should be discerned based on the specifications of the system. If you<br />

are developing a data driven system, where 90% of the requests require a<br />

database connection, this is a significantly different workload compared to a Web<br />

application that makes 90% JSP and servlet calls, with the remaining 10% being<br />

messages sent to a back-end store. This requires close work between the<br />

application architect and the system architect.<br />

Determine the projected load for a new system as early as possible. In the case<br />

of Web applications, it is often difficult to predict traffic flows or to anticipate user<br />

demand for the new application. In those cases, estimate using realistic models,<br />

and then review the data when the system is launched to adjust expectations.<br />

The first step in performance considerations is to verify that the application and<br />

application environment has been adequately tuned. Tuning needs to be verified<br />

at the application code layer, the network layer, the server hardware layer, the<br />

operating system layer, and the <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> layer.<br />

Network layer<br />

Tuning at the network layer is usually done at a high level only. Take the time to<br />

verify that port settings on the switches match the settings of the network<br />

interfaces. Many times, a network device is set to a specific speed, and the<br />

network interface is set to auto-detect. Depending on the operating system, this<br />

can cause performance problems due to the negotiation done by the system.<br />

Also, reviewing these settings establishes a baseline expectation as you move<br />

forward with scaling attempts.<br />

236 <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> <strong>V7.0</strong>: <strong>Concepts</strong>, Planning, and Design

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

Saved successfully!

Ooh no, something went wrong!