blockBlob.DownloadToStreamAsync is taking too much time,i have to download more than 20 tiff files one by one from blob
@Sumarigo-MSFT i am doing the same thing i have more than 20 tiff file which i need to download from blob one by one. but when more than 4 mb file comes its taking 2 minutes to downloadintostrem.
14 MB tiff FILE took around 4 minutes.
Is there any possible way to make it faster. ?
below is code snippet.
var maxRetryCount = 3;
var blobRequestOptions = new BlobRequestOptions
{
ServerTimeout = TimeSpan.FromSeconds(30),
MaximumExecutionTime = TimeSpan.FromSeconds(120),
RetryPolicy = new ExponentialRetry(TimeSpan.FromSeconds(3), maxRetryCount),
};
await blockBlob.DownloadToStreamAsync(blockBlobStream, null, blobRequestOptions, default(OperationContext)).ConfigureAwait(false);