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.2.1 Scaling overview<br />

Note: In order to be scalable you need a scalable application. If an application<br />

is not designed to be scalable, the scalability options are limited.<br />

Consider additional hardware resources as a step for improving system<br />

performance. There are two ways to improve performance when adding<br />

hardware:<br />

► Vertical scaling<br />

Vertical scaling means increasing the throughput by adding resources inside<br />

the server and operating system image to handle more requests in parallel.<br />

From a hardware perspective, we can, for example, increase the number of<br />

processors for a server. By upgrading the system hardware with additional<br />

processors, the server can potentially gain a higher throughput. This concept<br />

is relatively easy to implement and can apply to any server in an environment.<br />

Examine vertical scaling at every potential bottleneck in your architecture.<br />

► Horizontal scaling<br />

Horizontal scaling means adding additional separated resources to handle<br />

additional load. This applies to multi-tier scenarios and can require the use of<br />

additional components like a load balancer that sits in front of the duplicated<br />

servers and makes them appear as a single instance.<br />

Note: Adding resources usually affects the dynamics of the system and<br />

can potentially shift the bottleneck from one resource to another. Therefore<br />

it is important to have a balanced system.<br />

In a single tier scenario, the Web application and database servers are all<br />

running on the same system. Creating a cluster and spreading application<br />

servers across systems should improve the throughput. But at the same time,<br />

additional systems introduce new communication traffic and load to the database<br />

server. Ask yourself the following questions:<br />

► How much network bandwidth will this server configuration consume?<br />

► What will the performance improvement by adding more systems be?<br />

Because of these questions, we recommend that you always perform a<br />

scalability test to identify how well the site is performing after a hardware change.<br />

Throughput and response time can be measured to ensure that the result meets<br />

your expectations.<br />

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