Try HEAD request before SEARCH to obtain credentials #159

Closed
opened 2023-07-04 08:11:24 +00:00 by alexvanin · 1 comment
Owner

With introduction of GSet credentials (#135), S3 gateway uses SEARCH request to find accessbox object and then follows back to direct object GET if no versions were found.

This might be suboptimal because:

  • SEARCH is more network demanding request than GET
  • Keyboxes tend to expire so there is going to be more initially created / re-created accceboxes than reciphered accessboxes over time.

Consider sending HEAD request first and then follow back to SEARCH operation.

With introduction of GSet credentials (#135), S3 gateway uses SEARCH request to find accessbox object and then follows back to direct object GET if no versions were found. This might be suboptimal because: - SEARCH is more network demanding request than GET - Keyboxes tend to expire so there is going to be more initially created / re-created accceboxes than reciphered accessboxes over time. Consider sending HEAD request first and then follow back to SEARCH operation.
alexvanin added the
discussion
label 2023-07-04 08:11:24 +00:00
Author
Owner

Nevermind, if new versions are available, S3 gateway will never know about them without SEARCH. So SEARCH has to be first.

Nevermind, if new versions are available, S3 gateway will never know about them without SEARCH. So SEARCH has to be first.
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-s3-gw#159
No description provided.