New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Weight predicate #1072
Comments
There is a Under
The weights are calculated per group. |
Thank you Spencer, @spencergibb , I saw something about ThrottleRoutePredicateFactory - is that old? i dont find it in the master branch anymore. |
It's only a sample. |
@spencergibb - Thank you - I think this works, but I was wondering how this uses the weight - does it take the total # of requests in a day? or an in hour? and splits it into X % to service A and Y% to service B. does it reset the count if I restart the gateway application? I am using a config server to hold the application.yml and using actuator refresh for gateway to pick it up. I wanted to know how the gateway changes - does it consider the apps in a day or an hour and split? |
Cherry-picked into 2.1.x via 8c21563 |
@PadmaGit2 : My use case is similar to yours. Can you tell me about your experience with weight based routing implementation in production? Did you find answers for this part of your question: I was wondering how this uses the weight - does it take the total # of requests in a day? or an in hour? and splits it into X % to service A and Y% to service B. does it reset the count if I restart the gateway application? Thanks in advance. |
I also have a quite similar use case @hariharakumar @PadmaGit2 , can u please share more about your experience with weight based routing implementation, |
Hi , i am trying to customize or use any available predicate to use for A/B testing - like for the same route send 10% traffic to destination B and remaining 90% to A
The text was updated successfully, but these errors were encountered: