简体   繁体   中英

How to choose best Block size when uploading to an Azure Block Blob

I have created a C# DotNet utility that uploads a large file to an Azure Block Blob. I am trying to determine the best block size for uploading. I have tried all different values from small to very large and they seem to have little or no impact on performance. Is there any reason not to just go to the maximum block size (100MB I believe)? What are some of the things to consider when choosing the block size?

Besides the link How to choose blob block size in Azure provided by Alexander, here is a suggestion:

You don't need to create your own .net utility and consider how to set the best block size. There is already a .net library provided by azure storage team: Microsoft Azure Storage Data Movement Library .

The Microsoft Azure Storage Data Movement Library designed for high-performance uploading, downloading and copying Azure Storage Blob and File.

And for larger files, this library has good performance, we have used it many times. You should consider directly using it for your purpose.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM