Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
getSas - PUT block context => decrease server calls to optimize upload flow #2052
Type of issue
GetSasKey => cache storage to avoid asking for a new sas key if the last one is still valid for a long time [...]
If a sas key has a lifetime of 5 minutes and the last request was made 2 seconds before... it is not required to request a new one. It is more important with concurrent calls (many calls for a same sas key).
We use 4MB chunks and concurrent is enabled. 4Mb is a good compromise for bad connections and concurrent helps good connections.