Feature #3735
Limit container info requests to one per upload session
Status: | Closed | Start date: | 05/15/2013 | |
---|---|---|---|---|
Priority: | Medium | Due date: | 05/15/2013 | |
Assignee: | Stavros Sachtouris | % Done: | 100% |
|
Category: | kamaki | Spent time: | 1.00 hour | |
Target version: | v0.9 | Estimated time: | 1.00 hour |
Description
An upload consists of the following requests (at most):
a. get container info (block size and hash)
b. check hashmap for missing blocks
c. sent missing blocks one by one
d. set hashmap again to create file
A file upload session may involve more than one upload (e.g. recursive uploads) at the same container.
Use the PithosClient.object_upload container_info_cache parameter to limit the first operation to one per session
That should reduce the http requests by one per file in every recursive upload session
Related issues
Associated revisions
Cache container info request per upload session
Refs: #3735
Upload Changelog for container info upload caching
Refs: #3735
History
#1 Updated by Stavros Sachtouris about 10 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
#2 Updated by Stavros Sachtouris about 10 years ago
- Status changed from Resolved to Closed