System and method for tracking service results
First Claim
1. A computer-implemented method comprising:
- performing, by one or more computers comprising one or more processors and memory;
receiving log data generated by a plurality of hosts in a service-oriented system that implements a plurality of services of different types on respective ones the plurality of hosts, and the service-oriented system is configured to, responsive to an initial request received at an initial one of the plurality of services, cause one or more service requests to be made to one or more other ones of the plurality of services to fulfill the initial request and generate log data for the one or more service requests, and the log data including records of a plurality of service requests made to or by different ones of the plurality of services and reported by the respective hosts, individual ones of the records indicating request identifiers for respective ones of the plurality of service requests;
accessing the log data to determine, for a particular root request, multiple ones of the records in the log data for service requests made to fulfill that particular root request, wherein each of the multiple records includes a request identifier for a service request, an origin identifier associated with the particular root request, a request stack indicating a sequence of prior requests that caused the service request in a parent-child order, and a depth value of the service request in the request stack, wherein each child request in the request stack was issued by a child service as a result of a prior parent request in the request stack issued by a parent service; and
based on the multiple records of service requests that each include the origin identifier associated with the particular root request, generating a data structure that specifies a call tree hierarchy of different ones of the plurality of services called to fulfill that particular root request, wherein the call tree hierarchy indicates, for a particular service in the call tree hierarchy, a parent service that called the particular service and one or more child services called by the particular service, and wherein the call tree hierarchy reflects the parent-child order indicated by the request stacks in the records in the log data.
0 Assignments
0 Petitions
Accused Products
Abstract
Various embodiments of a system and method for tracking service requests are described. Embodiments may include call tree generation logic configured to receive multiple request identifiers associated with a respective one of multiple service requests. Each given request identifier may include an origin identifier, a depth value, and a request stack comprising one or more interaction identifiers. The call tree generation logic may also be configured to, based on multiple request identifiers that each include an origin identifier associated with a particular root request, generating a data structure that specifies a hierarchy of services called to fulfill that particular root request. Based on one or more of the interaction identifiers and one or more of the depth values, the generated data structure may specify for each given service of the hierarchy: a parent service that called the given service, and one or more child services called by the given service.
51 Citations
20 Claims
-
1. A computer-implemented method comprising:
performing, by one or more computers comprising one or more processors and memory; receiving log data generated by a plurality of hosts in a service-oriented system that implements a plurality of services of different types on respective ones the plurality of hosts, and the service-oriented system is configured to, responsive to an initial request received at an initial one of the plurality of services, cause one or more service requests to be made to one or more other ones of the plurality of services to fulfill the initial request and generate log data for the one or more service requests, and the log data including records of a plurality of service requests made to or by different ones of the plurality of services and reported by the respective hosts, individual ones of the records indicating request identifiers for respective ones of the plurality of service requests; accessing the log data to determine, for a particular root request, multiple ones of the records in the log data for service requests made to fulfill that particular root request, wherein each of the multiple records includes a request identifier for a service request, an origin identifier associated with the particular root request, a request stack indicating a sequence of prior requests that caused the service request in a parent-child order, and a depth value of the service request in the request stack, wherein each child request in the request stack was issued by a child service as a result of a prior parent request in the request stack issued by a parent service; and based on the multiple records of service requests that each include the origin identifier associated with the particular root request, generating a data structure that specifies a call tree hierarchy of different ones of the plurality of services called to fulfill that particular root request, wherein the call tree hierarchy indicates, for a particular service in the call tree hierarchy, a parent service that called the particular service and one or more child services called by the particular service, and wherein the call tree hierarchy reflects the parent-child order indicated by the request stacks in the records in the log data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A system, comprising:
-
a memory comprising program instructions; and one or more processors coupled to said memory, wherein the program instructions are executable by at least one of said one or more processors to; receive log data generated by a plurality of hosts in a service-oriented system, wherein; the service-oriented system implements a plurality of services of different types on respective ones of the plurality of hosts, and the service-oriented system is configured to, responsive to an initial request received at an initial one of the plurality of services, cause one or more service requests to be made to one or more other ones of the plurality of services to fulfill the initial request and generate log data for the one or more service requests, and the log data includes records of a plurality of service requests made to or by individual ones of the plurality of services and reported by the respective hosts, individual ones of the records indicating request identifiers for respective ones of the plurality of service requests; access the log data to determine multiple ones of the request identifiers in the log data for a particular root request, wherein each of the multiple request identifiers is associated with a service request, an origin identifier associated with a particular root request, a request stack indicating a sequence of prior requests that caused the service request in a parent-child order, and a depth value of the associated service request in the request stack, wherein each child request in the request stack was issued by a child service as a result of a prior parent request in the request stack issued by a parent service; and based on the multiple request identifiers, generate a data structure that specifies a call tree hierarchy of different ones of the plurality of services called to fulfill that particular root request, wherein the call tree hierarchy indicates, for a particular service in the call tree hierarchy, a parent service that called the particular service and one or more child services called by the particular service, and wherein the call tree hierarchy reflects the parent-child order indicated by the request stacks in the log data. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory, computer-readable storage medium storing program instructions computer-executable to:
-
receive log data generated by a plurality of hosts in a service-oriented system, wherein; the service-oriented system implements a plurality of services of different types on respective ones of the plurality of hosts, and the service-oriented system is configured to, responsive to an initial request received at an initial one of the plurality of services, cause one or more service requests to be made to one or more other ones of the plurality of services to fulfill the initial request and generate log data for the one or more service requests, and the log data includes records of a plurality of service requests made to or by individual ones of the plurality of services and reported by the respective hosts, individual ones of the records indicating request identifiers for respective ones of the plurality of service requests; access the log data to determine multiple ones of the request identifiers in the log data for a particular root request, wherein each of the multiple request identifiers is associated with a service request, an origin identifier associated with a particular root request, a request stack indicating a sequence of prior requests that caused the service request in a parent-child order, and a depth value of the associated service request in the request stack, wherein each child request in the request stack was issued by a child service as a result of a prior parent request in the request stack issued by a parent service; and based on the multiple request identifiers, generate a data structure that specifies a call tree hierarchy of different ones of the plurality of services called to fulfill that particular root request, and wherein the call tree hierarchy indicates, for a particular service in the call tree hierarchy, a parent service that called the particular service and one or more child services called by the particular service, and wherein the call tree hierarchy reflects the parent-child order indicated by the request stacks in the log data. - View Dependent Claims (19, 20)
-
Specification