Advanced Networking : TCP multiplexing
 
TCP multiplexing
The TCP multiplexing option enables Layer 7 load balancing virtual servers to “reuse” existing TCP connections. In the same way that persistent HTTP connections allow a single HTTP connection to retrieve multiple objects, TCP multiplexing allows the virtual server to use a single connection between FortiADC and the backend servers for multiple sessions. Using this connection pool can reduce the impact of TCP overhead on web server and application performance.
Figure 89:  Client requests handled using connections from the connection pool
Note: The feature is not supported for profiles with the Source Address option enabled.
You can enable and configure this option using the CLI only.
To configure a connection pool and assign it to a virtual server:
1. Use the following command to configure the connection pool:
config load-balance connection-pool
edit <name>
set age <integer>
set reuse <integer>
set size <integer>
set timeout <integer>
next
end
age
Maximum duration of a connection in seconds. The recommended value is 3000.
reuse
Maximum number of times that the virtual server can reuse the connection. The recommended value is 2000.
size
Maximum number of connections in the connection pool. The recommended value is 0, which specifies that there is no limit on the connection size.
timeout
Maximum number of seconds a connection can be idle before the system deletes it. The recommended value is 30.
2. To assign the connection pool configuration to a virtual server, enter the following command:
config load-balance virtual-server
edit <virtual-server_name>
set type l7-load-balance
set connection-pool <pool_name>
end
where:
<pool_name> is the name of the connection pool.