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/01/28 08:28:02 UTC
[GitHub] [apisix] 123libohan opened a new issue #3445: request help: How to limit the cost of apisix cluster environment
123libohan opened a new issue #3445:
URL: https://github.com/apache/apisix/issues/3445
### Issue description
In the stand-alone mode, quota can be set by quota plug-in. However, in the cluster, how to ensure that the total amount of calls of each node is the total amount of quota. Although it can be processed by the redis cluster, the concurrency supported by the redis cluster is limited. If it is necessary to process a million level calls, how should it be set
----------------------------------------------------------------
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 #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-771436928
> Although it can be processed by the redis cluster, the concurrency supported by the redis cluster is limited. If it is necessary to process a million level calls, how should it be set
If you need a more powerful solution, please submit your requirements in detail.
----------------------------------------------------------------
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] tokers commented on issue #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-771624609
@123libohan Does you cluster has a layer-4 LB in front of APISIX?
Since the rate limiting is in the single-instance scope, if the weight of each APISIX instance is same, you may configure the quota that divides the number of instances. But it's still hard for the scene that the weights are different.
----------------------------------------------------------------
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] 123libohan removed a comment on issue #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
123libohan removed a comment on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-771320067
Yes, if it is in a cluster environment, it is impossible to guarantee the control of the total transfer amount
----------------------------------------------------------------
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] tokers commented on issue #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-769524669
@123libohan What's the quota you mentioned above? Is the limited QPS?
----------------------------------------------------------------
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 #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-771436928
> Although it can be processed by the redis cluster, the concurrency supported by the redis cluster is limited. If it is necessary to process a million level calls, how should it be set
If you need a more powerful solution, please submit your requirements in detail.
----------------------------------------------------------------
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 #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-781763772
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] 123libohan removed a comment on issue #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
123libohan removed a comment on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-771320067
Yes, if it is in a cluster environment, it is impossible to guarantee the control of the total transfer amount
----------------------------------------------------------------
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 #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3445:
URL: https://github.com/apache/apisix/issues/3445
----------------------------------------------------------------
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] 123libohan commented on issue #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
123libohan commented on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-771320067
Yes, if it is in a cluster environment, it is impossible to guarantee the control of the total transfer amount
----------------------------------------------------------------
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] 123libohan commented on issue #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
123libohan commented on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-771320247
> @123libohan What's the quota you mentioned above? Is the limited QPS?
Yes, if it is in a cluster environment, it is impossible to guarantee the control of the total transfer amount
----------------------------------------------------------------
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] 123libohan commented on issue #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
123libohan commented on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-771320067
----------------------------------------------------------------
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] tokers commented on issue #3445: request help: How to limit the cost of apisix cluster environment
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #3445:
URL: https://github.com/apache/apisix/issues/3445#issuecomment-771624609
@123libohan Does you cluster has a layer-4 LB in front of APISIX?
Since the rate limiting is in the single-instance scope, if the weight of each APISIX instance is same, you may configure the quota that divides the number of instances. But it's still hard for the scene that the weights are different.
----------------------------------------------------------------
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