Techniques for tracking resource usage statistics per transaction across multiple layers of protocols
First Claim
1. A computer-implemented method, comprising:
- receiving a request for at least one of data or services;
processing the request across a plurality of stages, beginning with a first stage;
in the first stage, assigning an activity context to the request, wherein the activity context includes an initial set of properties that describe the request, wherein the initial set of properties includes;
an activity identifier that identifies the request;
a tenant identifier that identifies a domain name of a tenant receiving services; and
a component identifier that identifies a component that handles the request;
in the first stage, assigning values to the initial set of properties;
transferring the activity context for the request to a second stage of the plurality of stages;
generating a log file of the assigned values for the initial set of properties;
analyzing the log file to determine a resource usage statistic; and
using the resource usage statistic to perform an action.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques to track resource usage statistics per transaction across multiple layers of protocols and across multiple threads, processes and/or devices are disclosed. In one embodiment, for example, a technique may comprise assigning an activity context to a request at the beginning of a first stage, where the activity context has an initial set of properties. The values of the properties may be assigned to the properties in the initial set during the first stage. The value of a property may be stored on a data store local to the first stage. The activity context may be transferred to a second stage when the request begins the second stage. The transferred activity context may include a property from the initial set of properties. The stored values may be analyzed to determine a resource usage statistic. Other embodiments are described and claimed.
30 Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
receiving a request for at least one of data or services; processing the request across a plurality of stages, beginning with a first stage; in the first stage, assigning an activity context to the request, wherein the activity context includes an initial set of properties that describe the request, wherein the initial set of properties includes; an activity identifier that identifies the request; a tenant identifier that identifies a domain name of a tenant receiving services; and a component identifier that identifies a component that handles the request; in the first stage, assigning values to the initial set of properties; transferring the activity context for the request to a second stage of the plurality of stages; generating a log file of the assigned values for the initial set of properties; analyzing the log file to determine a resource usage statistic; and using the resource usage statistic to perform an action. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computing system, comprising:
-
at least one processing unit; and at least one memory storing computer-executable instructions that when executed by the at least one processing unit cause the computing system to; receive a request for at least one of data or services; process the request across a plurality of stages, beginning with a first stage; assign an activity context to the request in the first stage, wherein the activity context includes an initial set of properties that describe the request, wherein the initial set of properties includes; an activity identifier that identifies the request; a tenant identifier that identifies a domain name of a tenant receiving services; and a component identifier that identifies a component that handles the request; assign values to the initial set of properties in the first stage; transfer the activity context for the request to a second stage of the plurality of stages; generate a log file of the assigned values for the initial set of properties; analyze the log file to determine a resource usage statistic; and use the resource usage statistic to perform an action. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A computer storage device storing computer-executable instructions that when executed by at least one processing unit cause a computer system to:
-
receive a request for at least one of data or services; process the request across a plurality of stages, beginning with a first stage; assign an activity context to the request in the first stage, wherein the activity context includes an initial set of properties that describe the request, wherein the initial set of properties includes; an activity identifier that identifies the request; a tenant identifier that identifies a domain name of a tenant receiving services; and a component identifier that identifies a component that handles the request; assign values to the initial set of properties in the first stage; transfer the activity context for the request to a second stage of the plurality of stages; generate a log file of the assigned values for the initial set of properties; analyze the log file to determine a resource usage statistic; and use the resource usage statistic to perform an action. - View Dependent Claims (17, 18, 19, 20)
-
Specification