Nova Patents
CA2881153C

Adaptive service timeouts

Abstract

Disclosed are various embodiments for a timeout management application. Latency data for executing services is obtained. The used service capacity is calculated. If the service capacity is outside of a predefined range, the timeout of a selected service is reconfigured.

CA2881153C, drawing sheet 1
Sheet 1 of 4

Term

7 yearsleft in the term

Expires 17 September 2033.

  1. Priority and filed
  2. Granted
  3. Today
  4. Expires

22 claims: 4 independent, 18 dependent

  1. 1
    EMBODIMENTS IN WHICH AN EXCLUSIVE PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:1. A non-transitory computer-readable medium having stored thereon a program executable in at least one computing device, wherein the program, when executed, causes the at least one computing device to perform a method comprising: obtaining latency data from a plurality of services, individual ones of the plurality of services corresponding to a respective one of a plurality of timeouts and associated with one of a plurality of tiers, individual ones of the plurality of timeouts defining a maximum time to complete a call to a first service of the plurality of services when called by a second service of the plurality of services, and at least one of the plurality of services being a parent of at least one child service in the plurality of services;calculating an aggregate latency with respect to a time interval based at least in part on the latency data obtained during the time interval;calculating an amount of used service capacity based at least in part on the aggregate latency;selecting one of the plurality of services based at least in part on at least one of: the plurality of tiers, a service dependency, the aggregate latency, or a priority list;in response to the amount of used service capacity exceeding a first predefined threshold, decreasing one of the plurality of timeouts corresponding to the selected one of the plurality of services;and Date Reçue/Date Received 2020-11-05 in response to the amount of used service capacity falling below a second predefined threshold, increasing the one of the plurality of timeouts corresponding to the selected one of the plurality of services.
  2. 4
    A system, comprising:at least one computing device;and a timeout management application executable in the at least one computing device, the timeout management application comprising: logic that monitors a plurality of latencies, individual ones of the plurality of latencies corresponding to one of a plurality of services;and logic that sets a timeout associated with a pair of the plurality of services based at least in part on the plurality of latencies, the timeout defining a maximum time to complete a call to a first service of the pair of the plurality of services when called by a second service of the pair of the plurality of services. Date Reçue/Date Received 2020-11-05
  3. 13
    A method, comprising:obtaining, in a computing device, latency data from a plurality of services, individual ones of the plurality of services having a respective plurality of timeouts, the respective plurality of timeouts defining a maximum time to complete a call to a corresponding one of the plurality of services by another of the plurality of services;selecting, in the computing device, one of the plurality of services based at least in part on the latency data;and reconfiguring, in the computing device, the one of the respective plurality of timeouts corresponding to the selected one of the services.
  4. 21
    A computer readable medium storing computer-executable instructions which, when executed by at least one processor, cause the at least one processor to execute the method of any one of claims 13 to 20.