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 2021/09/02 14:35:51 UTC

[GitHub] [apisix] okaybase edited a comment on pull request #4965: feat(proxy-mirror): support mirror percentage

okaybase edited a comment on pull request #4965:
URL: https://github.com/apache/apisix/pull/4965#issuecomment-911128702


   > > > Could you give some use cases about this feature?
   > > > okay~
   > > > In the simulation environment, we hope to use a small amount of real traffic to verify the new function, but the real traffic may be huge, which puts great pressure on the simulation service.
   > 
   > Personally, I prefer to sample randomly than sample the first N. As,
   > 
   > 1. sample randomly is more accurate. It doesn't miss requests after the first N
   > 2. we don't need a place to store the count.
   > 
   > What about your opinion?
   > @membphis @tokers @tzssangglass
   
   Thanks for your careful review and suggestions firstly~ :smile: 
   Use random sampling percentages to achieve this function.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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