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/08/21 08:22:49 UTC

[GitHub] [apisix] gy09535 opened a new issue #2096: request help: I need to limit req according to the hot spot parameters.

gy09535 opened a new issue #2096:
URL: https://github.com/apache/apisix/issues/2096


   ### Issue description
   When we use the  limit plug for limit req , currently only  based on key, which can only be selected: remote_addr, server_addr, X-Forwarded-For, X-Real-IP, but we need to limit the flow based on more flexible parameters such as client authentication key, or different request parameters.
   Therefore, we put forward RR, users can use flexibly according to their own circumstances, in order to be compatible with the previous limit logic, we retain the previous restriction strategy, the preferred choice of key to limit the flow, and then consider the combination of parameters of the current limit. If the consumer does not set key or use parameters, the default key is used to limit the flow.


----------------------------------------------------------------
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] gy09535 commented on issue #2096: request help: I need to limit req according to the hot spot parameters.

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


   Here there are two main points can not be satisfied: 1, different business interfaces, the need to limit the flow of parameters is not fixed, such as one of our trading business scenarios, need to be based on different trading parameters to limit the flow, the parameter key is not a common http request header. 2, sometimes the flow-limiting business needs to be based on the request parameters of different interfaces to limit the flow, not only the request header, can be the parameters of the request.


----------------------------------------------------------------
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] gy09535 closed issue #2096: request help: I need to limit req according to the hot spot parameters.

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


   


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