Multiplexing
Multiplexing, or Mux, is to use one physical TCP connections for multiple virtual TCP connections. See Mux.Cool for more implementation details.
Configuration:
{
"enabled": false,
"concurrency": 8
}
Where:
enabled: Whether or not to enable Muxconcurrency: Max number of virtual connections that one physical connection can handle at a time. Max value1024, min value1, default8.- Usually you don't have to configure this value.
- Mux is designed to reduce TCP handshake latency. It is NOT for high throughput. When used for downloading large files or speed measurement, Mux is usually slower than a normal TCP connection.