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

To offer a chance to get response headers from once-off Download/Upload API call #129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wangbinhui
Copy link

In order to reduce the API call times between Joss and back-end storage service, Joss should offer the chance to get all response headers from Object Download and Upload operation. E.g. Client wants to download an Object and get its 'Content-Length' header as well. That's easy to do with with just one time call of Swift or Ceph Radosgw download API. However, Joss has to call Swift or Radosgw twice, one is GET and the other is HEAD. That's not so pretty in the case of high concurrency of requests.
The commit offers the chance to Get/Put object and retrieve some headers from one time API call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant