Maintain client connection for multiple client requests 编辑
Maintain client connection for multiple client requests
You can set the client keep-alive parameter to configure an HTTP or SSL service to keep a client connection to a website open across multiple client requests. If client keep-alive is enabled, even when the load balanced Web server closes a connection, the Citrix ADC appliance keeps the connection between the client and itself open. This setting allows services to serve multiple client requests on a single client connection.
If you do not enable this setting, the client opens a new connection for every request that it sends to the website. The client keep-alive setting saves the packet round trip time required to establish and close connections. This setting also reduces the time to complete each transaction. Client keep-alive can be enabled only on HTTP or SSL service types.
Client keep-alive set at the service level takes precedence over the global client keep-alive setting. For more information about client keep-alive, see Client Keep-Alive
.
To enable the client keep-alive on a service by using the CLI
At the command prompt, type:
set service <name> -CKA <Value><!--NeedCopy-->
Example:
set service Service-HTTP-1 -CKA YES<!--NeedCopy-->
To enable the client keep-alive on a service by using the GUI
- Navigate to Traffic Management > Load Balancing > Services, and open a service.
- In Advanced Settings, select Traffic Settings, and select Client Keep-Alive.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论