Processing data requests using multiple request timers
First Claim
1. A non-transitory computer-readable storage medium encoded with instructions that, when executed, cause one or more processors to:
- send, to an external device, a request for data initiated by a web application;
start a first request timer using a first request timeout value, the first request timeout value specifying a first amount of time to wait for receiving data sent from the external device that is responsive to the request;
when first data responsive to the request is received prior to expiration of the first request timer,start a second request timer using a second request timeout value, the second request timeout value specifying a second amount of time to wait for receiving additional data sent from the external device that is further responsive to the request,update the first request timeout value based upon an amount of time between sending of the request and receiving of the first data that is responsive to the request, wherein the updating of the first request timeout value generates a first updated request timeout value, andupdate the second request timeout value based upon an amount of time between receiving the first data that is responsive to the request and receiving additional data that is further responsive to the request, wherein the updating of the second request timeout value generates a second updated request timeout value; and
determine whether the request is unsuccessful based upon expiration of the first request timer or the second request timer.
2 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure relates to techniques for processing data requests using multiple request timers. An example method includes sending a request for data to an external device and starting a first request timer using a first request timeout value, the first request timeout value specifying a first amount of time to wait for receiving data that is responsive to the request. When first data responsive to the request is received prior to expiration of the first request timer, the method includes starting a second request timer using a second request timeout value, the second request timeout value specifying a second amount of time to wait for receiving additional data that is further responsive to the request. The method further includes determining whether the request is unsuccessful based upon expiration of the first request timer or the second request timer.
33 Citations
20 Claims
-
1. A non-transitory computer-readable storage medium encoded with instructions that, when executed, cause one or more processors to:
-
send, to an external device, a request for data initiated by a web application; start a first request timer using a first request timeout value, the first request timeout value specifying a first amount of time to wait for receiving data sent from the external device that is responsive to the request; when first data responsive to the request is received prior to expiration of the first request timer, start a second request timer using a second request timeout value, the second request timeout value specifying a second amount of time to wait for receiving additional data sent from the external device that is further responsive to the request, update the first request timeout value based upon an amount of time between sending of the request and receiving of the first data that is responsive to the request, wherein the updating of the first request timeout value generates a first updated request timeout value, and update the second request timeout value based upon an amount of time between receiving the first data that is responsive to the request and receiving additional data that is further responsive to the request, wherein the updating of the second request timeout value generates a second updated request timeout value; and determine whether the request is unsuccessful based upon expiration of the first request timer or the second request timer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory computer-readable storage medium encoded with instructions that, when executed, cause one or more processors to:
-
send, to an external device, a request for data initiated by a web application; determine a type of the request that is indicative of a type of action that is to be performed by the external device in responding to the request; start a first request timer using a first request timeout value, the first request timeout value specifying a first amount of time to wait for receiving data sent from the external device that is responsive to the request, wherein the first request timeout value is adjusted based upon the type of the request prior to starting the first request timer; when first data responsive to the request is received prior to expiration of the first request timer, start a second request timer using a second request timeout value, the second request timeout value specifying a second amount of time to wait for receiving additional data sent from the external device that is further responsive to the request; and determine whether the request is unsuccessful based upon expiration of the first request timer or the second request timer.
-
-
12. A method comprising:
-
sending, from a computing device to an external device, a request for data initiated by a web application; starting, by the computing device, a first request timer using a first request timeout value, the first request timeout value specifying a first amount of time to wait for receiving data sent from the external device that is responsive to the request; when first data responsive to the request is received prior to expiration of the first request timer, starting, by the computing device, a second request timer using a second request timeout value, the second request timeout value specifying a second amount of time to wait for receiving additional data sent from the external device that is further responsive to the request, updating, by the computing device, the first request timeout value based upon an amount of time between sending of the request and receiving of the first data that is responsive to the request, wherein the updating of the first request timeout value generates a first updated request timeout value, and updating, by the computing device, the second request timeout value based upon an amount of time between receiving the first data that is responsive to the request and receiving additional data that is further responsive to the request, wherein the updating of the second request timeout value generates a second updated request timeout value; and determining, by the computing device, whether the request is unsuccessful based upon expiration of the first request timer or the second request timer.
-
-
13. A computing device, comprising:
-
one or more processors; and one or more modules configured by the one or more processors to; send a request for data to an external device, the request being initiated by a web application; start a first request timer using a first request timeout value, the first request timeout value specifying a first amount of time to wait for receiving data sent from the external device that is responsive to the request; when first data responsive to the request is received prior to expiration of the first request timer, start a second request timer using a second request timeout value, the second request timeout value specifying a second amount of time to wait for receiving additional data sent from the external device that is further responsive to the request, update the first request timeout value based upon an amount of time between sending of the request and receiving of the first data that is responsive to the request, wherein the updating of the first request timeout value generates a first updated request timeout value, and update the second request timeout value based upon an amount of time between receiving the first data that is responsive to the request and receiving additional data that is further responsive to the request, wherein the updating of the second request timeout value generates a second updated request timeout value; and determine whether the request is unsuccessful based upon expiration of the first request timer or the second request timer. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification