Feature #3735

Limit container info requests to one per upload session

Added by Stavros Sachtouris almost 8 years ago. Updated almost 8 years ago.

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

blocked by ./kamaki - Feature #3707: Cache HEAD response headers of upload_object Closed 05/09/2013 05/16/2013

Associated revisions

Revision 74c65e80
Added by Stavros Sachtouris almost 8 years ago

Cache container info request per upload session

Refs: #3735

Revision 3583ef07
Added by Stavros Sachtouris almost 8 years ago

Upload Changelog for container info upload caching

Refs: #3735

History

#1 Updated by Stavros Sachtouris almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Stavros Sachtouris almost 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF