TCP multiplexing
The TCP multiplexing option enables Layer 7 load balancing virtual servers to “reuse” existing TCP connections between FortiADC and backend real servers. Using this connection pool can reduce TCP overhead and improve web server and application performance. See 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:
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
Settings | Guidelines |
---|---|
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 . |
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.