You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New features take time and effort to create, and they take even more effort to maintain. So if the purpose of the feature is to resolve a struggle you are encountering personally, please consider first posting a "trouble" or "other" issue so we can discuss your use case and search for existing solutions first.
Proposal
For pipelines with thousands of targets, tar_delete() and tar_destroy() are slow because they delete each object one-by-one with a call to paws.storage::s3()$delete_object(). It would be faster to delete entire groups of objects with paws.storage::s3()$delete_objects(), plural. targets would probably need another utility in R/utils_aws.R for this, as well as similar functionality for Google Cloud.
The text was updated successfully, but these errors were encountered:
wlandau
changed the title
Performance of tar_delete() and tar_destroy() on the cloud
Performance of tar_delete(), tar_destroy(), and tar_prune() on the cloud
Nov 7, 2023
Prework
Proposal
For pipelines with thousands of targets,
tar_delete()
andtar_destroy()
are slow because they delete each object one-by-one with a call topaws.storage::s3()$delete_object()
. It would be faster to delete entire groups of objects withpaws.storage::s3()$delete_objects()
, plural.targets
would probably need another utility inR/utils_aws.R
for this, as well as similar functionality for Google Cloud.The text was updated successfully, but these errors were encountered: