Reducing Buffer Usage for TCP Proxy Session Based on Delayed Acknowledgement
First Claim
1. A method for reducing buffer usage for a Transmission Control Protocol (TCP) proxy session between a client and a server, comprising:
- (a) determining a first round trip time (RTT) for a server side TCP session of the TCP proxy session between a service gateway and the server, and determining a second RTT for a client side TCP session of the TCP proxy session between the service gateway and the client;
(b) comparing the first RTT with the second RTT by the service gateway;
(c) determining whether the second RTT exceeds the first RTT;
(d) in response to determining that the second RTT exceeds the first RTT, calculating by the service gateway a desired RTT based on the second RTT; and
(e) setting a timer by the service gateway according to the calculated desired RTT, wherein a TCP acknowledgment for the server side TCP session is delayed until the timer expires.
2 Assignments
0 Petitions
Accused Products
Abstract
Reducing buffer usage for a TCP proxy session between a client and a server by a service gateway includes: determining a first round trip time (RTT) for a server side TCP session and determining a second RTT for a client side TCP session; comparing the first RTT with the second RTT; determining whether the second RTT exceeds the first RTT beyond a threshold; if so, then calculating a desired RTT based on the second RTT; and setting a timer according to the calculated desired RTT, where a TCP acknowledgment for the server side TCP session is delayed until the timer expires. The desired RTT may be calculated as a percentage of the second RTT or as the second RTT minus a predetermined value. The service gateway waits until the timer has expired before sending a TCP acknowledgment data packet to the server.
83 Citations
15 Claims
-
1. A method for reducing buffer usage for a Transmission Control Protocol (TCP) proxy session between a client and a server, comprising:
-
(a) determining a first round trip time (RTT) for a server side TCP session of the TCP proxy session between a service gateway and the server, and determining a second RTT for a client side TCP session of the TCP proxy session between the service gateway and the client; (b) comparing the first RTT with the second RTT by the service gateway; (c) determining whether the second RTT exceeds the first RTT; (d) in response to determining that the second RTT exceeds the first RTT, calculating by the service gateway a desired RTT based on the second RTT; and (e) setting a timer by the service gateway according to the calculated desired RTT, wherein a TCP acknowledgment for the server side TCP session is delayed until the timer expires. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory computer readable medium with computer readable program code embodied therewith for reducing buffer usage for a Transmission Control Protocol (TCP) proxy session between a client and a server, the computer readable program code configured to:
-
(a) determine a first round trip time (RTT) for a server side TCP session of the TCP proxy session between a service gateway and the server, and determining a second RTT for a client side TCP session of the TCP proxy session between the service gateway and the client; (b) compare the first RTT with the second RTT; (c) determine whether the second RTT exceeds the first RTT; (d) in response to determining that the second RTT exceeds the first RTT, calculate a desired RTT based on the second RTT; and (e) set a timer according to the calculated desired RTT, wherein a TCP acknowledgment for the server side TCP session is delayed until the timer expires. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A system for reducing buffer usage for a Transmission Control Protocol (TCP) proxy session between a client and a server, comprising:
a security gateway, wherein a server side TCP session of the TCP proxy session is established between the security gateway and the server, wherein a client side TCP session of the TCP proxy session is established between the security gateway and the client, wherein the security gateway; (a) determines a first round trip time (RTT) for a server side TCP session of the TCP proxy session between a service gateway and the server, and determining a second RTT for a client side TCP session of the TCP proxy session between the service gateway and the client; (b) compares the first RTT with the second RTT; (c) determines whether the second RTT exceeds the first RTT; (d) in response to determining that the second RTT exceeds the first RTT, calculates a desired RTT based on the second RTT; and (e) sets a timer according to the calculated desired RTT, wherein a TCP acknowledgment for the server side TCP session is delayed until the timer expires. - View Dependent Claims (12, 13, 14, 15)
Specification