产品:WSO2 API管理器
版本:2.6.0.1
用例:
我们已经为某些API定义了限制策略,目前这些API的配置方式比与客户所同意的API宽松得多。
主要原因是我们仍在学习使用该工具,尽管配置似乎可以,但我们不确定在出现问题时停止节流给定订阅请求的“正确”方法。
For example:
a client calls one of our APIs with 2000 calls/min due to a bug on their side,
while we have configured the throttling policy to 10000 calls/24hours.
in such a case, their requests will be throttled after 5 minutes, but even if they were to fix their
bug in the next hour, no new call would be pass through for the next 24 hours.
如果会发生这种情况,我们目前看到两个选择:
这两个选项都不适合用例,因此我们一直在寻找另一种方法,即在给定订阅的api调用计数的“重置”行中。
任何指向描述如何实现这一目标(或为什么不应该如此)的文档的指针,将不胜感激。