×

Adaptive endpoint selection

  • US 10,432,711 B1
  • Filed: 09/15/2014
  • Issued: 10/01/2019
  • Est. Priority Date: 09/15/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for selecting, for a client device, a service endpoint from a plurality of service endpoints in a distributed system of a service provider, the method comprising:

  • storing processing data for each of the plurality of service endpoints,for at least a first service request from the client device, where a current history length is less than or equal to a threshold length, applying uniform random selection to select a first one of the plurality of service endpoints;

    for at least a second service request from the client device, where the current history length for all of the plurality of service endpoints exceeds the threshold length;

    calculating for each of the plurality of service endpoints and using the processing data;

    a success rate based on a number of successfully processed requests from a plurality of received requests, wherein the success rate indicates a rate of success for the plurality of received requests;

    an average latency based on latency associated with each of the successfully processed requests;

    a latency score based on a minimum average latency and the average latency, wherein the minimum average latency is selected from the average latency for each of the plurality of service endpoints;

    a raw score based on the latency score and the success rate; and

    a selection weight based on the raw score and a balancing parameter, wherein the balancing parameter determines an extent to which the selection weight deviates, based on the processing data, from uniform weights across the plurality of service endpoints; and

    selecting a second one of the plurality of service endpoints based on the selection weight; and

    directing the first and second service requests to the first and second selected service endpoints respectively.

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