Quota policy - Can we distribute quota count between proxies ?

Hi, 

We have an appcaller that has more that one proxy it is invoking. We are setting quota count at the developer level for this product. We now got a requirement to see  if we can set a quota per proxy instead of per client? Is it possible? 

Eg, 

count 100

Client A is calling Proxy 1 and Proxy 2, with the current config, client A can call proxy 1 100 times, and Proxy 2 100 times. 

New Req is, 

count 100

When client A calls, we need allow only 100 call, it does not matter which proxy they call. Bit 

0 1 80
1 REPLY 1

Yes, you can do it. 

But, you need to extract the Quota logic into a "shared proxy" and call into it via ServiceCallout from each of Proxy1 and Proxy2 .  You should use a LocalTargetConnection to do that. More details here. The shared proxy should include the Quota policy. 

There is an outstanding feature request to make this easier. reference: b/149229963.  This feature has not yet been released.