Weighted request rate limiting for resources
First Claim
1. A method comprising:
- receiving a search request associated with a consumer identifier and a search term;
determining a predicted weight of the search request based at least on the search term;
updating a usage history corresponding to the consumer identifier, based on the predicted weight of the search request and an actual weight of the search request;
calculating, using a processor, a usage level associated with the consumer identifier, the usage level based on a pattern identified in the usage history associated with the consumer identifier; and
responding to the search request based on the usage level and the predicted weight of the search request in accordance with a usage policy.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and systems to automatically respond to consider the weight of a request when responding to requests associated with resources are described. In one embodiment, an interface module may be configured to receive a request associated with consumer identifier and a resource. A calculator module may be configured to determine a weight of the request and a usage module configured to calculate, using a processor, a usage level associated with the consumer identifier, the usage level based on a usage history associated with the consumer identifier. An enforcer module may also be configured to respond to the request based on the usage level and the weight of the request. In one embodiment, the usage module may also be configured to update the usage level associated with the consumer identifier based on the weight of the request.
41 Citations
20 Claims
-
1. A method comprising:
-
receiving a search request associated with a consumer identifier and a search term; determining a predicted weight of the search request based at least on the search term; updating a usage history corresponding to the consumer identifier, based on the predicted weight of the search request and an actual weight of the search request; calculating, using a processor, a usage level associated with the consumer identifier, the usage level based on a pattern identified in the usage history associated with the consumer identifier; and responding to the search request based on the usage level and the predicted weight of the search request in accordance with a usage policy. - View Dependent Claims (2, 3, 4, 5, 6, 17)
-
-
7. A system comprising one or more modules implemented by one or more processors and configured to:
-
receive a search request associated with a consumer identifier and a search term; determine a predicted weight of the search request based at least in part on the search term; update a usage history corresponding to the consumer identifier, based on the predicted weight of the search request and an actual weight of the search request; calculate a usage level associated with the consumer identifier, the usage level based on a pattern identified in the usage history associated with the consumer identifier; and respond to the request based on the usage level and the predicted weight of the search request in accordance with a usage policy. - View Dependent Claims (8, 9, 10, 11, 18)
-
-
12. A non-transitory machine-readable medium comprising stored instructions, wherein the instructions, when executed, cause a machine to perform operations, comprising:
-
receiving a search request associated with a consumer identifier and a search term; determining a predicted weight of the search request based at least in part on the search term; updating a usage history corresponding to the consumer identifier, based on the predicted weight of the search request and an actual weight of the search request; calculating a usage level associated with the consumer identifier, the usage level based on a pattern identified in the usage history associated with the consumer identifier; and responding to the search request based on the usage level and the predicted weight in accordance with a usage policy. - View Dependent Claims (13, 14, 19)
-
-
15. A system, comprising:
-
means for receiving a search request associated with a consumer identifier and a search term; means for determining a predicted weight of the search request, based at least in part on the search term; means for updating a usage history corresponding to the consumer identifier, based on the predicted weight of the search request and an actual weight of the search request; means for calculating, using a processor, a usage level associated with the consumer identifier, the usage level based on a pattern identified in the usage history associated with the consumer identifier; and means for responding to the search request based on the predicted weight of the search request and the first usage level in accordance with a usage policy. - View Dependent Claims (16, 20)
-
Specification