Backend resource costs for online service offerings
First Claim
1. A method for calculating resource costs of online service offerings, comprising:
- extracting, from a logging database, a statistical sampling comprising a plurality of records, each record representing a request for a service of a plurality of online services, each record comprising a request identifier and a plurality of systems utilized to fulfill the request, each identifier assigned so that each system involved in filling the request uses the same request identifier for the request;
for each record in the statistical sampling, performing operations comprising;
identifying a list of systems comprising the plurality of systems utilized to fulfill the request based on the associated identifier; and
calculating a backend resource cost for the record based on the backend resource cost for each system in the list of systems;
calculating at least one statistical metric using the backend resource cost for at least a subset of the records in the statistical sampling;
predicting a maximum operational load for the service based on data collected during normal operation of the service; and
calculating a backend resource cost per request by dividing a cost by the maximum operational load.
1 Assignment
0 Petitions
Accused Products
Abstract
Representative embodiments disclose mechanisms to calculate resource costs (e.g., processing, memory, storage and/or monetary costs) to provide an online service. The service is offered by a service provider that provides a plurality of different online services. To identify systems involved in providing a particular service, each request is associated with a unique identifier. The identifier is passed between systems and logged. Thus a trace of the unique identifier yields all systems involved in providing the service. A maximum operational load, calculated from operational data, is used to calculate a cost per request. A statistical sampling of the logged data is retrieved and the cost for each request in the sample is calculated based on a sum of the costs of the systems used to service the request. The cost of each system is the cost per request times the number of times the system is used to fill the request.
56 Citations
18 Claims
-
1. A method for calculating resource costs of online service offerings, comprising:
-
extracting, from a logging database, a statistical sampling comprising a plurality of records, each record representing a request for a service of a plurality of online services, each record comprising a request identifier and a plurality of systems utilized to fulfill the request, each identifier assigned so that each system involved in filling the request uses the same request identifier for the request; for each record in the statistical sampling, performing operations comprising; identifying a list of systems comprising the plurality of systems utilized to fulfill the request based on the associated identifier; and calculating a backend resource cost for the record based on the backend resource cost for each system in the list of systems; calculating at least one statistical metric using the backend resource cost for at least a subset of the records in the statistical sampling; predicting a maximum operational load for the service based on data collected during normal operation of the service; and calculating a backend resource cost per request by dividing a cost by the maximum operational load. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computing system comprising:
a processor and executable instructions accessible on a machine-readable medium that, when executed, cause the system to perform operations comprising; extracting a statistical sampling comprising a plurality of records from a logging database, each record comprising a request identifier associated with a request and a list of systems utilized in filling the request, each identifier assigned so that each system involved in filling the request uses the same request identifier for the request; for each record in the statistical sampling, performing operations comprising; identifying the list of systems utilized to fulfill the request associated with the request identifier in the record; and calculating a backend resource cost for the record based on the backend resource cost for each system in the list of systems; and calculating at least one statistical metric using the backend resource cost for at least a subset of the records in the statistical sampling; predicting a maximum operational load based on data collected during normal operation of the service; and calculating a backend resource cost per request by dividing a cost by the maximum operational load. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
15. A machine-readable medium having executable instructions encoded thereon, which, when executed by at least one processor of a machine, cause the machine to perform operations comprising:
-
collecting data describing a load and at least one of either a latency or a utilization during normal operation of an online service; using regression to fit a curve to the collected data, the curve representing at least one of either the latency or the utilization for the load; using the fitted curve, predicting a load value at which at least one of either the latency of the utilization will exceed a service level agreement; calculating a maximum operational load as being equal to or less than the load value; calculating a cost per request by dividing a cost by the maximum operational load; extracting, from a logging database, a statistical sampling comprising a plurality of records, each record representing a request for a service of a plurality of online services, each record comprising a request identifier and a plurality of systems utilized to fulfill the request; selecting at least one dimension to calculate a backend resource cost across;
for each record in the statistical sampling, performing operations comprising;tracing the request identifier and identifying a list of systems utilized in filling the request associated with the request identifier; and calculating the backend resource cost for the record based on the backed resource cost for each system in the list of systems; accumulating the backend resource cost along the selected at least one dimension; and calculating at least one statistical metric using the backend resource cost for at least a subset of the records in the statistical sampling. - View Dependent Claims (16, 17, 18)
-
Specification