摘要 |
An apparatus and a method for requesting data from a server over an HTTP connection. In one implementation, a method includes in response to reading at least a portion of a random access file from a server via an HTTP connection, requesting a first amount of data at a first location in the random access file, receiving the first amount of data from the server, determining a second amount of data to be requested, the determining based on a growth rate parameter, and prior to completing the reading of the first amount of data received from the server, requesting the second amount of data at a second location in the random access file that is different than the first location, wherein the size of the second amount of data being requested is greater than the size of the first amount of data. |
主权项 |
1. A method comprising:
in response to reading at least a portion of a random access file from a server via an HTTP connection, requesting, by a client device via the HTTP connection, a first amount of data at a first location in the random access file; receiving, by the client device via the HTTP connection, the first amount of data from the server; determining, by the client device, a second amount of data to be requested, the determining in view of a growth rate parameter that is configured at the client device to apply to a size of each request for the data sent by the client device; and prior to completing the reading of the first amount of data received from the server, requesting, by the client device via the HTTP connection, the second amount of data at a second location in the random access file that is different than the first location, wherein the size of the second amount of data being requested is greater than the size of the first amount of data. |