官术网_书友最值得收藏!

  • Troubleshooting NetScaler
  • Raghu Varma Tirumalaraju
  • 323字
  • 2021-07-16 11:06:45

Request Switching and Connection Multiplexing

NetScaler's fundamental performance secret is a patented traffic handling technique called Request Switching. It allows the NetScaler to decouple Layer 7 protocol requests from TCP connections. This allows for a more granular load balancing by making decisions for each individual Layer 7 request.

NetScaler combines Request Switching with Connection Multiplexing. Connection Multiplexing is a technique where warm connections are maintained with each of the Servers using Keep-Alives. The result is that server side connections are already scaled up to maximum speed/window size. The NetScaler then multiplexes requests from several client side connections and potentially several users to a single server using a single TCP connection.

If you consider the server side processing cost of setting up a TCP connection and tearing it down, the round trips needed to do so, not forgetting that each of these connections also has a memory cost, the benefits of request switching become immediately apparent.

Along with helping the server scale better, there are also other benefits to this technique. Because NetScaler is looking at traffic at the request level instead of the connection level, it is capable of offering better protection by looking at individual requests, instead of letting all traffic on a connection through and similarly, policies and load balancing decisions can be applied more granularly on a per request basis.

Note

The patent number for anyone interested in delving deeper is 6,411,986. This was later licensed to other vendors.

The following screenshot shows NetScaler Request Switching and Connection Multiplexing:

Request Switching and Connection Multiplexing

Tip

For troubleshooting, you might, on occasion, want to temporarily disable Connection Multiplexing, for example, to rule out issues of it not playing well with the Server. To do so, you can either use a HTTP profile with -conMultiplex DISABLED bound to the service, or by setting -maxreq to 1 on the service. Make this change at the service level to avoid impacting the performance of the environment as a whole.

主站蜘蛛池模板: 响水县| 池州市| 广饶县| 五华县| 克东县| 镇原县| 阜阳市| 商都县| 井研县| 浙江省| 綦江县| 静宁县| 遂溪县| 庆安县| 汉中市| 延吉市| 祥云县| 安塞县| 长子县| 阳山县| 宁陕县| 永春县| 浪卡子县| 杭州市| 吉林市| 鄱阳县| 望谟县| 维西| 都兰县| 河东区| 昆山市| 浠水县| 汨罗市| 梧州市| 富顺县| 东方市| 凭祥市| 尉氏县| 武夷山市| 辉县市| 扎赉特旗|