Low BLOB_MAX_CHUNK_DATA_SIZE leads to performance hits for max_connections=1 #337
Labels
Service Attention
Workflow: This issue is responsible by Azure service team.
Storage
Storage Service (Queues, Blobs, Files)
When using azure.storage.blobservice.get_blob_to_file, the algorithm will download a 64MB (or smaller) file in one call REST call.
However larger files are chunked in 4MB blocks. For a 65MB file this would result in 17 calls, which significantly decreases performance. For my application, changing _BLOB_MAX_CHUNK_DATA_SIZE to be the same as _BLOB_MAX_DATA_SIZE (64MB) improved performance drastically.
Not sure of all use cases to know if this will impact other applications, but if it cannot be hard coded to 64MB, perhaps allowing a chunk_size argument would help.
The text was updated successfully, but these errors were encountered: