1 回答
- 最新
- 投票最多
- 评论最多
0
You're correct, by definition stickyness and blue/green don't work together. You can expire sessions but if your application requires sticky sessions to work, this would be problematic too because during the time you are expiring sessions (setting application generated cookie to expire in the past), sessions wouldn't be sticky :-(
Set an expiry on the cookie generated by the application that is prior to the current date and time. This will prevent clients from sending the cookie to the Application Load Balancer, which will restart the process of establishing stickiness.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html
相关内容
- 已提问 6 个月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前