Hi there, I am trying to figure out the best way to go about tackling this problem. I have 10s of thousands of really small (~1kb) files which I would like to be uploaded to my Azure storage container instantly.
I will be regularly replacing these files with new ones every hour or so. Users will be able to access these files via my CDN.
The reason why I need the files to be replaced/uploaded instantly is so that users don't get a miss match of files. Say the upload process takes 5mins and a user fetches the files during this upload period, then there's the potential for them to have part of the files out of sync with the other part.
I understand that it's near impossible for all these files to be uploaded instantly which is fine for my solution. I was thinking of ways to try and upload the files to a different container and then replace the container with the proper one after everything has been uploaded, this would mean the user can only ever fetch data from one upload and not multiple. But I understand you can't do this.
Any alternative solutions are welcome here. Maybe there is a way we can freeze the container until all the files have been uploaded or some other method I haven't thought of.
Thanks in advance!