Patent ID: 9674277
Date: 2017-06-06
CPC Classifications: G06F,H04L

Claim:
1. A method, comprising: receiving, from a given client application at a first server, a request for a particular resource that is provided by a second server; determining, by the first server, that a data structure includes an entry indicating that a previous request for the particular resource was received from another client application and is still being processed by the second server; in response to determining that the data structure includes an entry indicating that the previous request was received from another client application, incrementing, in the data structure by the first server, a reference count that tracks a number of pending requests for the particular resource without sending a second request for the particular resource to the second server; receiving, by the first server, a cancellation of a previously received pending request for the particular resource prior to delivery of the particular resource in response to the previously received pending request; in response to receiving the cancellation, decrementing, in the data structure by the first server, the reference count that tracks the number of pending requests for the particular resource without cancelling the request; and managing, by the first server, a status of the previous request for the particular resource, including cancelling the previous request for the particular resource prior to the second server providing the particular resource when the reference count indicates that all pending requests for the particular resource have been cancelled.