Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2556

Client-side throttling for Datastore connector

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • io-java-gcp

    Description

      The Datastore connector currently has exponential backoff on errors, which is good. But it does not do any other throttling of its write load in response to errors; once a request succeeds, it resumes writing as quickly as it can.

      Write loads will be more stable and more likely to compete if the client throttles itself in the event that it receives high rates of errors from the Datastore service; specifically
      https://landing.google.com/sre/book/chapters/handling-overload.html#client-side-throttling-a7sYUg is a technique that Google has had success with on other services.

      We (Datastore) have a patch in progress to add this behaviour to the connector.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cphipps Colin Phipps
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: