Previous Topic: Understand Multi-Tiered Application OperationNext Topic: Glossary


Analyze Multi-Tiered Application Performance

Use the management console to analyze multi-tiered applications the same way that you analyze single-tiered applications with two exceptions:

In the example in the previous section, the Tier 2 HTTP Web application’s performance is a function of the Tier 3 Oracle database server performance. It follows that the Tier-N HTTP Web server appears as the client in reports while the Tier N+1 host appears as the server/application.

When you analyze N-tier applications, begin with the highest tier (the one farthest away from the end user) and work your way toward the user. Note the effects of dependent performance points on the dependent tiers. The common dependent performance points between tiers follow in the probable order of occurrence.

  1. Server Response Time (SRT) of Tier N+1 impacts SRT of Tier N.
  2. Network Round Trip Time (NRTT) between Tier N and Tier N+1 is high and affects data throughput.
  3. Data Transfer Time (DTT) between Tier N and Tier N+1 is exactly zero or converges to zero. Review the Response Size and Data Transfer Time by Response Size views to see if the application uses diverse response sizes greater than 1.45 KB, which is the amount of data that fits into one packet. A DTT of zero or near zero typically indicates that a single packet is being sent by the back office server for each user request. For database servers, this is typically in the form of a query requesting one row of a data many times instead of asking for all the rows in a single query. Rewrite the queries for optimal performance.
  4. Retransmission Time between Tier N and Tier N+1 indicates significant packet loss.

The following charts illustrate a Server Response Time dependency between Tier 2 and Tier 3 of an application architecture. The SRT of the Tier 2 server follows the SRT of the Tier 3 server during periods of high response times.

Example of a Server Response Time dependency between Tier 2 and Tier 3 of an application architecture.

Trailing data points between the two tiers indicate that the Tier 3 server performance affects the Tier 2 server performance. The Tier 3 server is a bottleneck in this application architecture.

When the Tier N application latency has the same general curve as the Tier N+1 application latency during peak latency spikes, the Tier N application is probably being adversely affected by the Tier N+1 application.

After you identify the performance bottleneck in the Tier N+1 application (high SRT indicating server issues, high NRTT and retransmission times indicating network issues, zero or high data transfer times generally indicating application issues when SRT and NRTT are low) and correct it, repeat the analytical process to identify secondary bottlenecks.