Skip to content

Collect object / bucket updates in batch #351

Closed

Description

@dhermes

See
https://github.com/GoogleCloudPlatform/gcloud-python/pull/349/files#r19983607

By sending a PATCH request every time a property is set, we may make an application unnecessarily slow. We should work to make this simple and intuitive to users.

Activity

  1. added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    api: datastoreIssues related to the Datastore API.
    on Nov 6, 2014
  2. tseaver commented on Nov 6, 2014

    @tseaver
    Contributor

    I think "simple/intuitive" and "performant" are probably contradictory goals: distributed systems are hard.

  3. dhermes commented on Nov 6, 2014

    @dhermes
    ContributorAuthor

    Sorry, I was just trying to throw this together quickly mid-review. Main thrust is just that we should consider batching.

  4. tseaver commented on Nov 7, 2014

    @tseaver
    Contributor

    I didn't mean to sling stones: just noting that it is tricky to find a balance.

  5. tseaver commented on Nov 7, 2014

    @tseaver
    Contributor

    #352 adds a quasi-transactional batch attribute, which can be used as a context manager to group multiple updates.

  6. modified the milestone: on Jan 30, 2015
  7. 25 remaining items

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

Metadata

Metadata

Assignees

Labels

api: datastoreIssues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions