IP Library Granted Patent US 12,160,357
Granted Patent B2
US 12,160,357 · App. 18/461,403 · Granted Dec 3, 2024

Method, apparatus and computer program product for improving dynamic retry of resource service

Inventor: Michael Mostov (Chicago, IL)
Assignee: Bytedance Inc.
H04L43/0805H04L41/06H04L43/16H04L47/82
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,160,357
App. No.
18/461,403
Granted
Dec 3, 2024
Kind
B2
Abstract

Methods, apparatuses and computer program products for implementing dynamic retry of a resource service in a network system are provided. An example method may include: transmitting a first service request to the resource service, determining a first service availability indicator, calculating a first service availability estimate associated with the resource service based on the first service availability indicator, and determining whether to transmit a second service request based on the first service availability estimate. The example method may be repeated by an example apparatus continuously for each transmitted service request.

Claims (61)

1. An apparatus comprising at least one processor and at least one non-transitory memory storing program code, wherein the at least one non-transitory memory and the program code are configured to, with the at least one processor, cause the apparatus to:

transmit, to a resource service, a first service request;

generate a first service availability indicator representative of whether the resource service is available to respond to the first service request;

generate a first service availability estimate associated with the resource service based on the first service availability indicator, the first service availability estimate representing a probability that a service request to the resource service will result in a service response received from the resource service; and

determine whether to transmit a second service request to the resource service based on the first service availability estimate.

2. The apparatus of claim 1 , wherein the at least one non-transitory memory and the program code are configured to, with the at least one processor, cause the apparatus to further:

continuously transmit subsequent service requests to the resource service;

generate a service availability indicator representative of whether the resource service is available to respond to each subsequent service request;

generate a service availability estimate associated with the resource service based on the service availability indicator; and

determine whether to transmit a further subsequent service request based on the service availability estimate.

3. The apparatus of claim 1 , wherein generating the first service availability indicator comprises:

determining that no service response is received within a predetermined time period subsequent to transmitting the first service request; and

generating the first service availability indicator indicating that the resource service is not available.

4. The apparatus of claim 1 , wherein determining whether to transmit the second service request further comprises:

retrieving a service availability threshold associated with the resource service; and

determining whether the first service availability estimate satisfies the service availability threshold.

5. The apparatus of claim 4 , wherein determining whether to transmit the second service request comprises:

responsive to determining that the first service availability estimate satisfies the service availability threshold, transmitting the second service request to the resource service.

6. The apparatus of claim 4 , wherein determining whether to transmit the second service request further comprises:

responsive to determining that the first service availability estimate does not satisfy the service availability threshold, triggering generation of an electronic indication that the second service request is not transmitted.

7. The apparatus of claim 6 , wherein the at least one non-transitory memory and the program code are configured to, with the at least one processor, cause the apparatus to further:

generate an entry to a log file associated with the resource service, wherein the log file indicates a failure count associated with the resource service.

8. The apparatus of claim 7 , wherein the at least one non-transitory memory and the program code are configured to, with the at least one processor, cause the apparatus to further:

responsive to determining, based on the log file, that the failure count satisfies a failure alert threshold associated with the resource service, trigger generation of an electronic alert.

9. A computer-implemented method, comprising:

transmitting, to a resource service, a first service request;

generating a first service availability indicator representative of whether the resource service is available to respond to the first service request;

generating a first service availability estimate associated with the resource service based on the first service availability indicator, the first service availability estimate representing a probability that a service request to the resource service will result in a service response received from the resource service; and

determining whether to transmit a second service request to the resource service based on the first service availability estimate.

10. The computer-implemented method of claim 9 , further comprising:

continuously transmitting subsequent service requests to the resource service;

generating a service availability indicator representative of whether the resource service is available to respond to each subsequent service request;

generating a service availability estimate associated with the resource service based on the service availability indicator; and

determining whether to transmit a further subsequent service request based on the service availability estimate.

11. The computer-implemented method of claim 9 , wherein determining the first service availability indicator comprises:

determining that no service response is received within a predetermined time period subsequent to transmitting the first service request; and

generating the first service availability indicator indicating that the resource service is not available.

12. The computer-implemented method of claim 9 , wherein determining whether to transmit the second service request comprises:

retrieving a service availability threshold associated with the resource service; and

determining whether the first service availability estimate satisfies the service availability threshold.

13. The computer-implemented method of claim 12 , wherein determining whether to transmit the second service request comprises:

responsive to determining that the first service availability estimate satisfies the service availability threshold, transmitting the second service request to the resource service.

14. The computer-implemented method of claim 12 , wherein determining whether to transmit the second service request comprises:

responsive to determining that the first service availability estimate does not satisfy the service availability threshold, triggering generation of an electronic indication that the second service request is not transmitted.

15. The computer-implemented method of claim 14 , further comprising:

generating an entry to a log file associated with the resource service, wherein the log file indicates a failure count associated with the resource service.

16. The computer-implemented method of claim 15 , further comprising:

responsive to determining, based on the log file, that the failure count satisfies a failure alert threshold associated with the resource service, triggering generation of an electronic alert.

17. A computer program product comprising at least one non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising an executable portion configured to:

transmit, to a resource service, a first service request;

generate a first service availability indicator, wherein the first service availability indicator is indicative of whether the resource service is available to respond to the first service request;

generate a first service availability estimate associated with the resource service based on the first service availability indicator, the first service availability estimate representing a probability that a service request to the resource service will result in a service response received from the resource service; and

determine whether to transmit a second service request to the resource service based on the first service availability estimate.

18. The computer program product of claim 17 , wherein determining the first service availability indicator further comprises:

determining that no service response is received within a predetermined time period subsequent to transmitting the first service request; and

generating the first service availability indicator indicating that the resource service is not available.

19. The computer program product of claim 17 , wherein determining whether to transmit the second service request comprises:

retrieving a service availability threshold associated with the resource service; and

determining whether the first service availability estimate satisfies the service availability threshold.

20. The computer program product of claim 19 , wherein determining whether to transmit the second service request comprises:

responsive to determining that the first service availability estimate satisfies the service availability threshold, transmitting the second service request to the resource service.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 3, 2024
From: GROUPON, INC.
To: BYTEDANCE INC.
Reel/Frame 069072/0485 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2023
From: MOSTOV, MICHAEL
To: GROUPON, INC.
Reel/Frame 064800/0665 →
Continuity (4)
Continuation 17661191 · Apr 28, 2022
Continuation 16510373 · Jul 12, 2019
Provisional Application 62697791 · Jul 13, 2018
Related Publication 20240080252A1 · Mar 7, 2024