Skip to content

Multiple publish calls can lead to rate limit errors #53

Open

Description

@martinlipp

When updating the same resource multiple times during one request (f.e. by having the same resource added to multiple domain model objects and updating all of those), it can lead to a rate limit error thrown by GCS:

The object xyz exceeded the rate limit for object mutation operations (create, update, and delete). Please reduce your request rate. See https://cloud.google.com/storage/docs/gcs429.

This is happening because the publishResource method of the GcsTarget class is called for every resource, even if they are the same. It would suffice to publish it only one time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions