Performance evaluation of applications that access external resources
First Claim
Patent Images
1. A system for evaluating application performance, comprising:
- a processor configured to;
receive a plurality of external resource access calls that access a plurality of external resources, the plurality of external resources comprising at least a database resource and a web service resource;
process the plurality of external resource access calls, including for each external resource access call;
invoking an instrumented function that includes an original function that accesses an external resource and monitoring code to monitor the performance of invoking the original function;
determine a response time associated with said each external resource access call;
determine whether the response time associated with said each external resource access call exceeds a response time threshold;
use a result of the determination as a basis for whether to further process the external resource access call, including;
in the event that the response time exceeds the response time threshold;
capture a runtime attribute associated with the external resource access call that exceeds the response time threshold; and
mark the external resource access call that exceeds the response time threshold for post processing to obtain diagnostic information;
in the event that the response time does not exceed the response time threshold;
omit capturing the runtime attribute and omit marking with respect to the external resource access call that does not exceed the response time threshold; and
perform post processing on the each marked external resource access call exceeding the response time threshold using at least in part the captured runtime attribute to obtain additional performance information, wherein performing post processing includes invoking a post processing function corresponding to the marked external resource access call using the corresponding captured runtime attribute, wherein the post processing function includes additional diagnostic code used to analyze the original function that accesses an external resource, and wherein the post processing function is different from the instrumented function; and
a memory coupled to the processor, configured to provide the processor with instructions.
1 Assignment
0 Petitions
Accused Products
Abstract
Evaluating application performance includes: obtaining a request, processing the request, including invoking a function that accesses an external resource, determining whether a response time associated with invoking the function exceeds a threshold, and in the event that the response time exceeds the threshold, capturing a runtime attribute associated with the function.
-
Citations
17 Claims
-
1. A system for evaluating application performance, comprising:
- a processor configured to;
receive a plurality of external resource access calls that access a plurality of external resources, the plurality of external resources comprising at least a database resource and a web service resource; process the plurality of external resource access calls, including for each external resource access call; invoking an instrumented function that includes an original function that accesses an external resource and monitoring code to monitor the performance of invoking the original function; determine a response time associated with said each external resource access call; determine whether the response time associated with said each external resource access call exceeds a response time threshold; use a result of the determination as a basis for whether to further process the external resource access call, including; in the event that the response time exceeds the response time threshold; capture a runtime attribute associated with the external resource access call that exceeds the response time threshold; and mark the external resource access call that exceeds the response time threshold for post processing to obtain diagnostic information; in the event that the response time does not exceed the response time threshold; omit capturing the runtime attribute and omit marking with respect to the external resource access call that does not exceed the response time threshold; and perform post processing on the each marked external resource access call exceeding the response time threshold using at least in part the captured runtime attribute to obtain additional performance information, wherein performing post processing includes invoking a post processing function corresponding to the marked external resource access call using the corresponding captured runtime attribute, wherein the post processing function includes additional diagnostic code used to analyze the original function that accesses an external resource, and wherein the post processing function is different from the instrumented function; and a memory coupled to the processor, configured to provide the processor with instructions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 16, 17)
- a processor configured to;
-
12. A method for evaluating application performance, comprising:
-
receiving a plurality of external resource access calls that access a plurality of external resources, the plurality of external resources comprising at least a database resource and a web service resource; processing the plurality of external resource access calls, including for each external resource access call; invoking an instrumented function, that includes an original function that accesses an external resource and monitoring code to monitor the performance of invoking the original function; determine a response time associated with said each external resource access call; determining whether the response time associated with said each external resource access call exceeds a response time threshold; using a result of the determination as a basis for whether to further process the external resource access call, including; in the event that the response time exceeds the response time threshold, further comprising; capturing a runtime attribute associated with the external resource access call that exceeds the response time threshold; and marking the external resource access call that exceeds the response time threshold for post processing to obtain diagnostic information; and in the event that the response time does not exceed the response time threshold; omitting capturing the runtime attribute and omitting marking with respect to the external resource access call that does not exceed the response time threshold; and performing post processing on the each marked external resource access call exceeding the response time threshold using at least in part the captured runtime attribute to obtain additional performance information, wherein performing post processing includes invoking a post processing function corresponding to the marked external resource access call using the corresponding captured runtime attribute, wherein the post processing function includes additional diagnostic code used to analyze the original function that accesses an external resource, and wherein the post processing function is different from the instrumented function. - View Dependent Claims (13)
-
-
14. A computer program product for evaluating application performance, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
-
receiving a plurality of external resource access calls that access a plurality of external resources, the plurality of external resource types comprising at least a database resource and a web service resource; processing plurality of external resource access calls, including for each external resource access call; invoking an instrumented function that includes an original function that accesses an external resource and monitoring code to monitor the performance of invoking the original function; determine a response time associated with said each external resource access call; determining whether the response time associated with said each external resource access call exceeds a response time threshold; using a result of the determination as a basis for whether to further process the external resource access call, including; in the event that the response time exceeds the response time threshold, further comprising; capturing a runtime attribute associated with the external resource access call that exceeds the response time threshold; and marking the external resource access call that exceeds the response time threshold for post processing to obtain diagnostic information; and in the event that the response time does not exceed the response time threshold; omitting capturing the runtime attribute and omitting marking with respect to the external resource access call that does not exceed the response time threshold; and performing post processing on the each marked external resource access call exceeding the response time threshold using at least in part the captured runtime attribute to obtain additional performance information, wherein performing post processing includes invoking a post processing function corresponding to the marked external resource access call using the corresponding captured runtime attribute, wherein the post processing function includes additional diagnostic code used to analyze the original function that accesses an external resource, and wherein the post processing function is different from the instrumented function. - View Dependent Claims (15)
-
Specification