BACKGROUND

The present disclosure relates to server round trip time, and more specifically, to providing support for an anticipatory request messages over the Transport Level Security (TLS) protocol to reduce communication latency.

Transport layer security (TLS) protocol provides communications security over a computer network. The TLS protocol is useful for applications such as web browsing, email, instant messaging, and voice over IP (VoIP) to secure the communication between a server and a client. The round-trip time (RTT), or round-trip delay time (RTD), refers to the length of time it takes of a signal to travel between a server and a client, plus the length of time it takes for an acknowledgement of that signal to be received. In computer networking, the signal refers to data packets being transmitted from one point to another point.

SUMMARY

Embodiments of the present disclosure include a computer-implemented method for providing request messages with zero round trip time in a TLS session. The computer-implemented method includes establishing a TLS session between a server and a client by performing a TLS handshake between the server and the client. The computer-implemented method further includes generating a session ticket associated to the client. The session ticket can be used to link the client to the TLS session. The computer-implemented method also includes transmitting the session ticket to the client and receiving an early request message from the client during the TLS session. The computer-implemented method further includes associating the early request message with the session ticket and processing the early request message. Processing the early request message can include retrieving data associated with the early request message and storing the data.

Further embodiments of the present disclosure include a computer program product for providing request messages with zero round trip time in a TLS session, which can include a computer readable storage medium having program instruction embodied therewith, the program instruction executable by a processor to cause the processor to perform a method. The method includes establishing a TLS session between a server and a client by performing a TLS handshake between the server and the client. The method further includes generating a session ticket associated to the client. The session ticket can be used to link the client to the TLS session. The method also includes transmitting the session ticket to the client and receiving an early request message from the client during the TLS session. The method further includes associating the early request message with the session ticket and processing the early request message. Processing the early request message can include retrieving data associated with the early request message and storing the data.

Additional embodiments are directed to an anticipatory request message system for providing request messages with zero round trip time in a TLS session and configured to perform the method described above. The present summary is not intended to illustrate each aspect of, every implementation of, and/or every embodiment of the present disclosure.

