8000 `gcloud storage rsync` is slower than `gsutil rsync` when · Issue #1832 · GoogleCloudPlatform/gsutil · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
gcloud storage rsync is slower than gsutil rsync when  #1832
Open
@dbartley2-wiq

Description

@dbartley2-wiq

Intuitively, these steps are functionally equivalent.
In our experiments, the new method is ~12x slower. Is there a configuration problem?

deprecated builder:

- name: 'gcr.io/cloud-builders/gsutil'
  args:
    - '-m'
    - 'rsync'
    - '-d'
    - '-r'
    - '-c'
    - 'dags/'
    - '${_COMPOSER_BUCKET}/dags'

new method:

- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk:slim'
  args: 
    - 'storage'
    - 'rsync'
    - '--checksums-only'
    - '--delete-unmatched-destination-objects'
    - '--recursive'
    - 'dags/'
    - '${_COMPOSER_BUCKET}/dags'

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

      0