[PR #1651] [CLOSED] Issue parallel requests in get_object_attribute #2093

Closed
opened 2026-03-04 02:03:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1651
Author: @gaul
Created: 5/8/2021
Status: Closed

Base: masterHead: parallel-head-object


📝 Commits (1)

  • 25288b4 Issue parallel requests in get_object_attribute

📊 Changes

2 files changed (+52 additions, -92 deletions)

View changed files

📝 src/s3fs.cpp (+51 -91)
📝 test/test-utils.sh (+1 -1)

📄 Description

s3fs must issue HEAD requests for path, path/, and the legacy
path_folder to return an object's attributes. Previously it issued
these serially which minimized costs but caused poor performance.
Instead issue these in parallel since HeadObject is cheap. Reduces
getattr time of non-existent files from 732 ms to 369 ms.
References #1643.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/1651 **Author:** [@gaul](https://github.com/gaul) **Created:** 5/8/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `parallel-head-object` --- ### 📝 Commits (1) - [`25288b4`](https://github.com/s3fs-fuse/s3fs-fuse/commit/25288b43203e1c86d47cbd7721a24444ebcd63bb) Issue parallel requests in get_object_attribute ### 📊 Changes **2 files changed** (+52 additions, -92 deletions) <details> <summary>View changed files</summary> 📝 `src/s3fs.cpp` (+51 -91) 📝 `test/test-utils.sh` (+1 -1) </details> ### 📄 Description s3fs must issue HEAD requests for path, path/, and the legacy path_$folder$ to return an object's attributes. Previously it issued these serially which minimized costs but caused poor performance. Instead issue these in parallel since HeadObject is cheap. Reduces getattr time of non-existent files from 732 ms to 369 ms. References #1643. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:03:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2093
No description provided.