c# - Start downloading partial azure blob before it's completed -
is there form of blob (block, page, etc) allow using c# api? machine x
uploading file azure blob endpoint, , machine y
reading file in real-time. seems me block blob won't work, because need put block list before can query http endpoint it, there way query uncommitted blocks , download beforehand?
an example of in practice, user machine handshake server, gets write shared access token server , permission upload file. client #1 machine begins uploading - say, second client machine requests file server client #1 has not finished upload. in case, client #2 relevant details server, , read-only shared access token, , begin read file though upload has not been finished yet.
with block blobs
don't think possible start downloading blob while still being uploaded. because nothing stored @ time. when upload blocks blob, azure storage stores byte chunks someplace.
it when commit block list, azure storage creates block blob arranging byte chunks based on request payload in commit block list operation. though azure storage lets see block list before committed
, doesn't expose api read contents of block.
i don't think page blob
correct type of blob in scenario (same append blob
) though moment write page gets committed in blob , other caller can get page ranges
, start downloading data stored in pages. page blob size has multiple of 512 bytes , not files uploaded in application meet requirement.
Comments
Post a Comment