Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcloud storage rsync is slower than gsutil rsync when #1832

Open
dbartley2-wiq opened this issue Dec 17, 2024 · 0 comments
Open

gcloud storage rsync is slower than gsutil rsync when #1832

dbartley2-wiq opened this issue Dec 17, 2024 · 0 comments

Comments

@dbartley2-wiq
Copy link

dbartley2-wiq commented Dec 17, 2024

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant