Reducing buffer usage for TCP proxy session based on delayed acknowledgement
First Claim
1. A method for reducing memory usage of a service gateway buffer for a Transmission Control Protocol (TCP) proxy session between a client and a server by adjusting server side session transmission time to reduce buffer usage, comprising:
- periodically monitoring performance of a TCP session using round trip time (RTT) for the TCP session including a server side TCP session and a client side TCP session;
determining a first round trip time (RTT) for the server side TCP session of the TCP proxy session between a service gateway and the server;
determining a second RTT for the client side TCP session of the TCP proxy session between the service gateway and the client that is based at least on one or more prior client side TCP sessions with the client, the service gateway comprising a processor, a memory module, and a server side receive buffer residing in the memory module;
comparing the first RTT with the second RTT by the service gateway;
determining that the second RTT exceeds the first RTT;
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, wherein the desired RTT is calculated as a percentage of the second RTT or as the second RTT minus a predetermined value; and
setting a timer by the service gateway according to the calculated desired RTT and scheduling a TCP acknowledgement data packet to be sent at a later time using the timer, wherein the TCP acknowledgement for the server side TCP session is delayed until the service gateway determines that 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 acknowledgement 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 acknowledgement data packet to the server.
-
Citations
12 Claims
-
1. A method for reducing memory usage of a service gateway buffer for a Transmission Control Protocol (TCP) proxy session between a client and a server by adjusting server side session transmission time to reduce buffer usage, comprising:
-
periodically monitoring performance of a TCP session using round trip time (RTT) for the TCP session including a server side TCP session and a client side TCP session; determining a first round trip time (RTT) for the server side TCP session of the TCP proxy session between a service gateway and the server; determining a second RTT for the client side TCP session of the TCP proxy session between the service gateway and the client that is based at least on one or more prior client side TCP sessions with the client, the service gateway comprising a processor, a memory module, and a server side receive buffer residing in the memory module; comparing the first RTT with the second RTT by the service gateway; determining that the second RTT exceeds the first RTT; 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, wherein the desired RTT is calculated as a percentage of the second RTT or as the second RTT minus a predetermined value; and setting a timer by the service gateway according to the calculated desired RTT and scheduling a TCP acknowledgement data packet to be sent at a later time using the timer, wherein the TCP acknowledgement for the server side TCP session is delayed until the service gateway determines that the timer expires. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. 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 by adjusting server side session transmission time to reduce buffer usage, the computer readable program code configured to:
-
periodically monitor performance of a TCP session using round trip time (RTT) for the TCP session including a server side TCP session and a client side TCP session; determine a first round trip time (RTT) for the server side TCP session of the TCP proxy session between a service gateway and the server; determine a second RTT for the client side TCP session of the TCP proxy session between the service gateway and the client that is based at least on one or more prior client side TCP sessions with the client, the service gateway comprising a processor, a memory module, and a server side receive buffer residing in the memory module; compare the first RTT with the second RTT by the service gateway; determine that the second RTT exceeds the first RTT; in response to determining that the second RTT exceeds the first RTT, calculate a desired RTT based on the second RTT, wherein the desired RTT is calculated as a percentage of the second RTT or as the second RTT minus a predetermined value; and set a timer by the service gateway according to the calculated desired RTT and schedule a TCP acknowledgement data packet to be sent at a later time, using the timer, wherein the TCP acknowledgement for the server side TCP session is delayed until the service gateway determines that the timer expires. - View Dependent Claims (8, 9)
-
-
10. A system for reducing buffer usage for a Transmission Control Protocol (TCP) proxy session between a client and a server by adjusting server side session transmission time to reduce the buffer usage, the system comprising:
a service gateway comprising a processor, a memory module, and a server side receive buffer residing in the memory module, wherein a server side TCP session of the TCP proxy session is established between the service gateway and the server, and a client side TCP session of the TCP proxy session is established between the service gateway and the client, wherein the service gateway; periodically monitors performance of the TCP proxy session using a round trip time (RTT) including RTT for the server side TCP session and the client side TCP session; determines a first round trip time (RTT) for the server side TCP session of the TCP proxy session between the service gateway and the server; determines a second RTT for the client side TCP session of the TCP proxy session between the service gateway and the client wherein the second RTT is based at least on one or more prior client side TCP sessions with the client; compares the first RTT with the second RTT; determines that the second RTT exceeds the first RTT; in response to determining that the second RTT exceeds the first RTT, calculates a desired RTT based on the second RTT, wherein the desired RTT is a percentage of the second RTT or the second RTT minus a predetermined value; and sets a timer according to the calculated desired RTT and schedules a TCP acknowledgement data packet to be sent at a later time, using the timer, wherein the TCP acknowledgement for the server side TCP session is delayed until the timer expires. - View Dependent Claims (11, 12)
Specification