简体   繁体   中英

How to synchronize uploaded files on Azure?

Probably a stupid question, but I am new to Azure and it seems there is a lot of documentation on the topic, which is intimidating in the beginning.

I have a small website where users can upload files and then some content will be displayed in the webpage. My question is, if the site is hosted in Azure, on multiple machines, how can I synchronize these files across machines? Or, how can I do this without having duplicates?

How is this normally done? I can't be the first with this problem.

Recommended approach is to use blob storage for storing user generated content. If you search here, you will find plenty examples regarding the benefits of using blob storage. One of the biggest benefit is that you're not constrained by the size. Each storage account today can store 500 TB of data whereas if you store the files locally in your Web App, there's a limit on the disk size.

Hosting on multiple machines is totally transparent for developers.

Work with it like you will do on unique machine

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