Skip to content
Discussion options

You must be logged in to vote

Yes, that's expected because the overall size of the buckets changes based on the updated weight. In the example you posted above, you're changing four bucket sizes at once, which will cause some thrashing. However, if you only had two variants, say "on" and "off", then slowly increasing the bucket size of "on", requests that evaluate to "on" will always stay on as long as you either keep the weight the same or increase the weight. If you decrease the weight, you run the risk of reverting to the "off" variant.

Here's a visual representation of what you're seeing above.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pmarchini
Comment options

@beeme1mr
Comment options

Answer selected by pmarchini
@pmarchini
Comment options

@beeme1mr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants