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.

Messaging connection pool<br />

When using the messaging service make sure that you configured the<br />

messaging pool according to your needs. Depending on which messaging<br />

service you use and how messaging is used in the application you have different<br />

pooling options. Pools for message processing can, for example, be configured<br />

on a per connection factory basis. The messaging listener service provides a<br />

separate pool that can be configured through the Integrated Solutions Console.<br />

To do so, navigate to <strong>Server</strong>s → <strong>Application</strong> <strong>Server</strong>s → →<br />

Messaging → Message Listener Service.<br />

Further pooling options exist when using activation specifications to invoke<br />

message driven beans (MDBs).<br />

Mediation thread pool<br />

If you want to run multiple mediations in your service integration bus<br />

infrastructure concurrently, you need to configure a mediation thread pool using<br />

the wsadmin command line interface.<br />

Database connection pool<br />

The database connection pool is another common location for bottlenecks,<br />

especially in data-driven applications. The default pool size is 10, and depending<br />

on the nature of the application and the number of requests, the default setting<br />

might not be sufficient. During implementation testing, pay special attention to<br />

the pool usage and adjust the pool size accordingly. The connections in the pool<br />

consume additional Java heap, so you might be required to go back and adjust<br />

the heap size after tuning the pool size.<br />

Web services connection pool<br />

Use HTTP transport properties for Java API for XML-based Web Services<br />

(JAX-WS) and Java API for XML-based RPC (JAX-RPC) Web services to<br />

manage the connection pool for HTTP outbound connections. Configure the<br />

content encoding of the HTTP message, enable HTTP persistent connection,<br />

and resent the HTTP request when a time-out occurs.<br />

7.3.4 <strong>Application</strong> tuning<br />

Tuning your application is the most important part of your tuning activities. While<br />

environment-related tuning is important to optimize resource use and avoid<br />

bottlenecks, it cannot compensate for a poorly written application. The majority of<br />

performance-related problems are related to application design and coding<br />

techniques. Only a well-designed application, implemented with the best<br />

practices for programming, will give you good throughput and response times.<br />

240 <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!