c# - 2 min delays on downloading Azure blobs -


i'm developing application in c# , use azure. noticed, when try load lot of blobs, requests take ~2 min. download time 1-15 sec. strange thing is, requests can take either 1-15 sec or 2 min (it never 30 sec, or 1 min etc.). me looks azure has kind of throttling or retry mechanism, i'm not sure.

what causes 2 min delays? how avoid such delays?

cloudblockblob blob = this.getblobreference(key);     using(var msget = new memorystream()) {     await this._ap.do(() =>     {         var downloadtostreamasync = blob.downloadtostreamasync(msget);         return downloadtostreamasync;     }).configureawait(false); } 

looks azure problem. https://github.com/azure/azure-webjobs-sdk-script/issues/298

currently, there short idle timeout on function apps, if don't requests 5 minutes next request causes cold start takes longer. looking increasing timeout, make situation less common.

and looks 1 solution keep server warm. think enougth run service make 1 call azure storage in 3 mins. avoid cold start


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -