Uploaded image for project: 'Yell'
  1. Yell
  2. YELL-723

Stagger/randomize RateExceededError retry wait times so all threads don't retry at same time

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: AdWords v201302
    • Fix Version/s: AdWords v201302
    • Component/s: None
    • Labels:
      None

      Description

      Deployments are a bottleneck (not a surprise) and we need to speed them up. The first thing is we're getting many RateExceededError responses and the code waits 60 seconds. Maybe if we didn't hammer the API as hard, we wouldn't get as many, and we most likely only need to wait 10 seconds, or 5 seconds, not 60 seconds. Also, when 20 threads make an API call at the same time and 16 get back the error, all 16 wait, then hammer the API and maybe 12 get back the error.. then 12 wait... so if we stagger/randomized the wait time and the API calls, we we might get less as well.

        Attachments

          Activity

            People

            • Assignee:
              alok.shukla Alok Shukla
              Reporter:
              sharath.tn Sharath TN (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: