Sticky Session Policy Evaluation
| Scenario | Recommended Policy | Huawei Cloud Configuration |
|---|---|---|
| Stateless applications | Sticky session not enabled | Backend server group > Sticky session not enabled |
| TCP/UDP persistent connections | Sticky sessions of the source IP address type | Backend server group > Sticky session > Source IP address |
| Simple web applications (shopping cart/login) | Sticky sessions of the load balancer cookie type | Backend server group > Sticky session > Load balancer cookie |
| Application-controlled session lifecycle | Sticky sessions of the application cookie type | Backend server group > Sticky session > Application cookie |
| Blue-green deployment | Sticky sessions between backend server groups | Advanced forwarding > Sticky sessions between backend server groups |
| Blue-green deployment + Intra-group stickiness | Inter-group sticky sessions + Intra-group sticky sessions | Advanced forwarding > Inter-group sticky session + Backend server group > Intra-group sticky session |
| WebSockets | Sticky session not required | WebSockets are inherently sticky. |
| Direct Connect/VPN access | Source IP hash (load balancing algorithm) | Backend server group > Load balancing algorithm > Source IP hash |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot