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

Update VFS S3 to ListObjectsV2 #4216

Merged
merged 3 commits into from
Aug 3, 2023
Merged

Conversation

shaunrd0
Copy link
Contributor

@shaunrd0 shaunrd0 commented Jul 27, 2023

This updates VFS::ls to call ListObjectsV2 from the AWS SDK, which increases performance when listing a prefix with several objects.

This came up while working on SC-31529 after testing recursive ls performance with ~350k results. ListObjectsV1 completes in ~10 minutes while ListObjectsV2 completes in 1 minute.


TYPE: IMPROVEMENT
DESC: Update VFS to call ListObjectsV2 from the AWS SDK.

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #31529: Recursively find files matching a pattern with VFS.

@shaunrd0 shaunrd0 requested a review from ihnorton July 27, 2023 19:05
Copy link
Contributor

@robertbindar robertbindar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10x sounds very good, nice and thanks!

@ihnorton ihnorton merged commit fe7c13d into dev Aug 3, 2023
@ihnorton ihnorton deleted the smr/sc-31529/s3-listobjects-v2 branch August 3, 2023 15:43
davisp pushed a commit to davisp/TileDB that referenced this pull request Sep 6, 2023
This updates `VFS::ls` implementation for S3 to call ListObjectsV2 from the AWS SDK, which increases performance when listing a prefix with several objects.

This came up while working on SC-31529 after testing recursive ls performance with ~350k results. ListObjectsV1 completes in ~10 minutes while ListObjectsV2 completes in 1 minute.

---
TYPE: IMPROVEMENT
DESC: Update VFS to call ListObjectsV2 from the AWS SDK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants