Open ihnorton opened 4 years ago
@ihnorton There isn't existing API that does parallel uploading from stream/buffer. You may need to call upload_block_from_stream
or upload_block_from_buffer
in parallel and then call put_block_list
. We'll evaluate and consider adding such an API.
@ihnorton Hi, I'm planning support for this parallel uploading/downloading feature. If we can only support uploading from either stream or buffer but not both due to limited resource. Which one do you prefer?
@JinmingHu-MSFT, this is no longer a requirement for @ihnorton and I because we are using the blob_client instead of the blob_client_wrapper. Thanks!
We added concurrent download/upload from/to buffer for blob_client
in latest 0.3.0 release.
We are evaluating this library (vs azure-storage-cpp), and the smaller dependency tree is appealing. One API that seems to be missing is a parallel put from a buffer/stream of known size. It looks like the
blob_client::upload_file_to_blob
function could be refactored to take a buffer, or a similar function written which splits over the buffer and then finalizes the block list likeupload_file_to_blob
does.Is this an API you would consider adding, or did I miss an existing API? Thanks!
cc @joe-maley @Shelnutt2