Index page for FrostFS containers #151

Closed
opened 2024-09-30 09:28:36 +00:00 by alexvanin · 0 comments
Owner

In #137 we introduced index page for S3 buckets. S3 buckets store metadata in a tree service, so it is very convenient to iterate over object names, sizes and build tree.

However, index page will also be useful for FrostFS containers. FrostFS native protocol is more efficient to store raw objects. These objects may be accessed from HTTP Gateway, so listing of these objects will be useful.

Describe the solution you'd like

HTTP gateway should list all objects and efficiently receive all meta data about these objects ( probably some parallel HEAD requests?). Based on FilePath object attribute, it should create a directory tree and render it the same way as S3 Bucket index page.

This is definitely may take some time to process in a large container. For now, consider simple implementation without any native protocol optimizations.

## Is your feature request related to a problem? Please describe. In #137 we introduced index page for S3 buckets. S3 buckets store metadata in a tree service, so it is very convenient to iterate over object names, sizes and build tree. However, index page will also be useful for FrostFS containers. FrostFS native protocol is more efficient to store raw objects. These objects may be accessed from HTTP Gateway, so listing of these objects will be useful. ## Describe the solution you'd like HTTP gateway should list all objects and efficiently receive all meta data about these objects ( probably some parallel HEAD requests?). Based on `FilePath` object attribute, it should create a directory tree and render it the same way as S3 Bucket index page. This is definitely may take some time to process in a large container. For now, consider simple implementation without any native protocol optimizations.
nzinkevich was assigned by alexvanin 2024-09-30 09:28:45 +00:00
alexvanin added this to the v0.32.0 milestone 2024-09-30 09:29:46 +00:00
alexvanin modified the milestone from v0.32.0 to v0.31.0 2024-11-19 14:24:26 +00: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: TrueCloudLab/frostfs-http-gw#151
No description provided.