假设在一个 API 包中,我们有 3 个不同的流(例如,流 A、流 B 和流 C),它们都引用同一个名为 QuotaLimitPolicy 的配额策略。他们真的对给定的标识符使用单独的计数器吗?
Flow A is executed -> QuotaLimitPolicy is executed. Result: "A counter" = 1
Flow B is executed -> QuotaLimitPolicy is executed. Result: "B counter" = 1
Flow A is executed -> QuotaLimitPolicy is executed. Result: "A counter" = 1 +1 = 2
Flow C is executed -> QuotaLimitPolicy is executed. Result: "C counter" = 1
Flow A is executed -> QuotaLimitPolicy is executed. Result: "A counter" = 2 +1 = 3
更一般地说,除了标识符之外,是什么使配额计数器与众不同?