• View Communities
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Blogs, code downloads, best practices, APIs, and more can all be found here.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
    • Blogs
      Learn the latest from the Citrix employees who are building application delivery infrastructure technologies.
    • Blogosphere
      The Citrix Blogosphere is a window into the thousands of conversations taking place about Citrix and Application Delivery.
  •  Sign In
NetScaler Developer Network

How TCP Buffering Works

A brief overview on what TCP buffering is and how it works on the system.

Summary

TCP buffering buffers only the server's response to the clients. It works with all application protocols running on TCP. TCP buffering also works with all network topologies, including origin server deployment and one-arm mode.

The system configured with TCP buffering receives the response from the server at the speed of the server network, buffers the server response, and forwards the response to the client at the client network's speed.

The following diagram illustrates the entities configured in a TCP buffering setup
 TCP buffering entity modelAs shown in this figure, to configure TCP buffering, you need to define services and enable TCP buffering for those services. Services are entities that are logical representations of applications on the physical servers. The traffic from the client is intercepted by the configured service and the client request is directed to the origin server. On receiving the response from the origin server, the service buffers the response and forwards it to the client at the client network's speed.

TCP buffering is bypassed for features such as SSL, compression, and caching. When one or more of these features are enabled on a given transaction, TCP buffering is not performed.

TCP buffering is also skipped for small responses that can fit in a single packet. The following table lists the conditions when TCP buffering is performed.

Conditions
TCP Buffering
TCP buffering enabled and the response is not single packet YES
SSL transaction NO
Compressible response and compression enabled NO
Cacheable response and caching enabled
NO

TCP buffering is performed for non-compressible and non-cacheable responses from the server, even when compression and caching are enabled. TCP buffering is internally disabled for the features mentioned in the table above because those features indirectly provide TCP buffering benefit.

More Information

Tags

ssl ssl Delete
compression compression Delete
caching caching Delete
how to how to Delete
tcp buffering tcp buffering Delete
Enter tags to add to this page:
Please wait 
Looking for a tag? Just start typing.
Related Links