摘要 |
Methods, systems, and computer-readable medium for latency reduction on Hypertext Transfer Protocol (HTTP) servers using User Datagram Protocol (UDP) are disclosed. In situations where a client needs to establish a new TCP connection to submit an HTTP request to a server, the client sends the HTTP request in a UDP datagram to the server while the TCP connection establishment is in progress. The server starts anticipatory construction of a response upon receipt of the HTTP request in the UDP datagram. After the TCP connection is established, the client sends and the server receives the same HTTP request in one or more data packets through the newly established TCP connection. In response to the receipt of the HTTP request through the newly established TCP connection, the server sends the pre-constructed response to the client through the TCP connection. HTTP response time can be reduced up to one round-trip time. |