Re: actor pattern to maximize parallel api requests while honoring rate limit exceptions

2023-08-01 Thread Don Mitchell
I wrote it to handle QuotaErrorEnum.QuotaError when I had dozens of concurrent processes hitting your API and your API getting very upset that the other process stacks kept sending API requests, but that said, it's not a request for help but instead help for those who may be in a similar situation.

RE: actor pattern to maximize parallel api requests while honoring rate limit exceptions

2023-08-01 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for reaching out to the Google Ads API support team. Regarding your concern, please note that our team provides assistance to concerns or issues related to Google Ads API (https://developers.google.com/google-ads/api/docs/start). Having said that, can you confirm if this is rela

Actor pattern to maximize parallel api requests while honoring rate limit exceptions

2023-08-01 Thread dhmitc...@gmail.com
We were occasionally getting rate limit errors from google (and other) apis in our highly parallel Kotlin system. I developed a traffic cop pattern which seems to work well and wrote a blog about it: https://www.cargurus.dev/kotlin-actor/actor/ -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~