You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/19 15:08:00 UTC

[GitHub] [apisix] gxthrj opened a new issue #2470: [discuss]: Distribute traffic in percentage between similar routes

gxthrj opened a new issue #2470:
URL: https://github.com/apache/apisix/issues/2470


   There is such a demand, how do you think it can be solved?
   
   Description of Requirement: Distribute traffic in percentage between similar routes
   
   such as:
   
   route1 GET http://foo.com/hello bind plugins 1,2,3
   
   route2 GET http://foo.com/hello bind plugins 1,3,4
   
   Hope that 30% of the traffic of `/hello` matches route2, and the remaining traffic matches route1
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #2470: [discuss]: Distribute traffic in percentage between similar routes

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2470:
URL: https://github.com/apache/apisix/issues/2470


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #2470: [discuss]: Distribute traffic in percentage between similar routes

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #2470:
URL: https://github.com/apache/apisix/issues/2470#issuecomment-787745616


   Consider solved


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] juzhiyuan commented on issue #2470: [discuss]: Distribute traffic in percentage between similar routes

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #2470:
URL: https://github.com/apache/apisix/issues/2470#issuecomment-712524911


   A/B Test?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] gxthrj commented on issue #2470: [discuss]: Distribute traffic in percentage between similar routes

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #2470:
URL: https://github.com/apache/apisix/issues/2470#issuecomment-714170436


   Yes, just like the grey policy, which is different from our existing plug-in locations, it is done when the routing matches. Do you have such requirements


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] juzhiyuan commented on issue #2470: [discuss]: Distribute traffic in percentage between similar routes

Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #2470:
URL: https://github.com/apache/apisix/issues/2470#issuecomment-712525323


   more like Gray release


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #2470: [discuss]: Distribute traffic in percentage between similar routes

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2470:
URL: https://github.com/apache/apisix/issues/2470#issuecomment-715663101


   https://github.com/apache/apisix/blob/master/doc/admin-api.md#route
   
   we can use `vars` to implement this feature. just need a random number, eg: `["random_100", ">=", 30]`, it means 70%.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org