Performance Measures

From jVantage

Jump to: navigation, search

By default, the jVantage developer tool displays a set of numbers in the upper right corner of each page, which look something like the following:

Web-0:00:00:100  EJB-0:00:00:080  SID-1148193

These are performance measures, which can be used to tune your applications. Since jVantage, and all applications developed with jVantage, are J2EE applications, most requests that jVantage processes are received by a web server (HTTP server), then passed to EJB components that are hosted in the application server's EJB container. These EJB components may then communicate with a database or other Enterprise Information System (EIS) to complete the user's request. Ultimately, a response is returned to the caller (this process flow is slightly different for web service requests). The performance numbers show the number of milliseconds it takes to process the request. The Web number is the number of milliseconds that request processing takes after it has been received by the jVantage controller servlet, which is the amount of time a request stays in the Web container. The EJB number is the number of milliseconds that same request spends in the EJB container.

Performance Measures

Since requests pass through the web container first, then through the EJB container, and then optionally, through EIS resources, the Web number is always inclusive the the EJB number and the EJB number will include any time that is spent in external processing. This means that the web number always includes the EJB number, and the EJB number always includes the EIS number. Performance measures can be turned on/off via the PROFERMANCE_MEASURES property of the SystemProfile (Property Service).

Personal tools