You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to solve one problem with sessionAffinity functionality.
Canary status:
Stop canary releases at a certain percentage for a certain period of time.
primary weighs 50% and canary weighs 50%.
If sessionAffinity is enabled in this state, a cookie will be given when traffic flows to canary, and canary traffic will increase. Therefore, the traffic will gradually stop flowing to the primary.
I would like to achieve stickiness communication: once traffic flows to primary, it will continue to flow to primary for a certain period of time, and once traffic flows to canary, it will continue to flow to canary for a certain period of time.
This idea is based on the Akamai ALB and AWS ALB sticky setup.
This is not a problem with the session affinity functionality, it was designed this way on purpose. The idea is to prevent users from switching back to the primary after they have been directed to the canary. We don't want to keep users stuck to the primary.
@aryan9600
Thanks for your reply.
I understood that it is an intentional design of session affinity.
I would like to keep them in primary as well for the use case I have, would you consider such a feature?
Describe the feature
I would like to solve one problem with sessionAffinity functionality.
Canary status:
If sessionAffinity is enabled in this state, a cookie will be given when traffic flows to canary, and canary traffic will increase. Therefore, the traffic will gradually stop flowing to the primary.
I would like to achieve stickiness communication: once traffic flows to primary, it will continue to flow to primary for a certain period of time, and once traffic flows to canary, it will continue to flow to canary for a certain period of time.
This idea is based on the Akamai ALB and AWS ALB sticky setup.
ref.
Proposed solution
I am wondering if it is possible to achieve stickiness communication by giving a cookie to the primary as well, using the following method.
I would like to know if you have any other good solutions.
The text was updated successfully, but these errors were encountered: