Why upload to Azure blob so slow?

前端 未结 3 924
庸人自扰
庸人自扰 2021-02-14 04:32

I have a custom stream that is used to perform write operations directly into the page cloud blob.

public sealed class WindowsAzureCloudPageBlobStream : Stream
{         


        
3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-14 05:32

    One simple and quick thing to check: make sure your blob storage is in the same Azure region where your VM or Application is running. One issue that we ran into was our storage account was in another region from our application. This caused us a significant delay during processing. We were scratching our heads until we realized we were reading and writing across regions. Rookie mistake on our part!

提交回复
热议问题