×

Endpoint call backoff in a computing service environment

  • US 10,296,411 B1
  • Filed: 03/31/2016
  • Issued: 05/21/2019
  • Est. Priority Date: 03/31/2016
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for providing an endpoint backoff operation in a computing service environment, the method comprises:

  • under control of at least one processor and memory configured with executable instructions that;

    define an allowable call failure rate for application programming interface (API) calls sent to one or more endpoints, and the allowable call failure rate is defined using a token bucket for storing a plurality of tokens, wherein removal of a single token from the token bucket is defined as being equal to one API call failure, and one or more additional tokens are added to the token bucket when a predetermined number of successful calls are sent to and executed by the endpoint;

    determine a number of tokens in the token bucket prior to executing an API call to the one or more endpoints;

    identify a health status of the one or more endpoints according to the number of tokens in the token bucket;

    determine that the one or more endpoints, having a number of tokens in the token bucket that is equal to zero or less than a defined number of tokens, are unhealthy; and

    delay the API calls to the one or more endpoints determined to be unhealthy.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×