Weighted service requests throttling
First Claim
Patent Images
1. A system comprising:
- a service fleet comprising a plurality of host computing devices, the plurality of host computing devices including;
a memory storing computer-executable instructions; and
a processor, coupled to the memory, to execute the computer-executable instructions to provide a load balancer, a sampler host, and a service host, wherein;
the load balancer is configured to;
receive service calls including a first service call comprising a first request for a first performance of a first computational task, a second service call comprising a second request for a second performance of a second computational task, and a third service call comprising a third request for a third performance of a third computational task;
provide the first service call and the second service call to the sampler host; and
provide the third service call to the service host;
the sampler host is configured to;
process a single service call at a time to individually determine resource consumed by each of the service calls;
for the first service call, generate first resource consumption data indicating a first amount of resources consumed to perform the first computational task;
for the second service call, generate second resource consumption data indicating a second amount of resources consumed to perform the second computational task;
access configurable formula data indicative of a first weight factor associated with the first resource consumption data and indicative of a second weight factor associated with the second resource consumption data;
generate a first weighted value by multiplying the first weight factor by the first resource consumption data;
generate a second weighted value by multiplying the second weight factor by the second resource consumption data;
generate weight data comprising a value generated by combining the first weighted value and the second weighted value; and
provide the weight data to the service host in response to a determination that a threshold amount of resource consumption data has been generated;
the service host is configured to process the third service call based on the weight data.
1 Assignment
0 Petitions
Accused Products
Abstract
Computing platforms may enable clients to use services to execute data processing tasks. Each of these services consumes resources during execution. Described herein are systems, devices and methods for generating resource consumption data for service calls. The resource consumption data may indicate amounts of resources consumed to process computational tasks associated with service calls. The system may determine when to process computational tasks based on the resource consumption data.
42 Citations
20 Claims
-
1. A system comprising:
-
a service fleet comprising a plurality of host computing devices, the plurality of host computing devices including; a memory storing computer-executable instructions; and a processor, coupled to the memory, to execute the computer-executable instructions to provide a load balancer, a sampler host, and a service host, wherein; the load balancer is configured to; receive service calls including a first service call comprising a first request for a first performance of a first computational task, a second service call comprising a second request for a second performance of a second computational task, and a third service call comprising a third request for a third performance of a third computational task; provide the first service call and the second service call to the sampler host; and provide the third service call to the service host; the sampler host is configured to; process a single service call at a time to individually determine resource consumed by each of the service calls; for the first service call, generate first resource consumption data indicating a first amount of resources consumed to perform the first computational task; for the second service call, generate second resource consumption data indicating a second amount of resources consumed to perform the second computational task; access configurable formula data indicative of a first weight factor associated with the first resource consumption data and indicative of a second weight factor associated with the second resource consumption data; generate a first weighted value by multiplying the first weight factor by the first resource consumption data; generate a second weighted value by multiplying the second weight factor by the second resource consumption data; generate weight data comprising a value generated by combining the first weighted value and the second weighted value; and provide the weight data to the service host in response to a determination that a threshold amount of resource consumption data has been generated; the service host is configured to process the third service call based on the weight data. - View Dependent Claims (2, 3)
-
-
4. A method comprising:
-
receiving, by a load balancer, a first service call comprising a request for performance of a first computational task; providing the first service call to a first host, the first host comprising one or more computing devices configured to process a single service call at a time; generating first resource consumption data indicating a first amount of resources consumed to perform the first computational task; receiving, by a load balancer, a second service call comprising a request for performance of a second computational task; providing the second service call to the first host; generating second resource consumption data indicating a second amount of resources consumed to perform the second computational task; accessing configurable formula data indicative of a first weight factor associated with the first resource consumption data and indicative of a second weight factor associated with the second resource consumption data; generating a first weighted value by multiplying the first weight factor by the first resource consumption data; generating a second weighted value by multiplying the second weight factor by the second resource consumption data; generating weight data comprising a value generated by combining the first weighted value and the second weighted value; and providing the weight data to one or more second hosts in response to a determination that a threshold amount of resource consumption data has been generated, the one or more second hosts being configured to contemporaneously process a third service call and a fourth service call based on the weight data. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method comprising:
-
receiving service calls for processing a single service call at a time to determine resources consumed for each individual service call; for a first plurality of service calls having a first type, generating first weighted value by multiplying a first weight factor by first resource consumption data indicating a first amount of resources consumed to perform first computational task associated with the first plurality of service calls; for a second plurality of service calls having a second type, generating second weighted value by multiplying a second weight factor by second resource consumption data indicating a second amount of resources consumed to perform second computational task associated with the second plurality of service calls; generating weight data comprising a value generated by combining the first weighted value and the second weighted value; and providing the weight data to one or more service hosts in response to a determination that a threshold amount of resource consumption data has been generated, the one or more service hosts being configured to determine when to process other service calls based on the weight data. - View Dependent Claims (18, 19, 20)
-
Specification