Create a container storage in Azure for each user

末鹿安然 提交于 2019-12-13 08:31:20

问题


My question is simple, I have a web app where the users can upload photos and other stuff...

Is a good practice create a container storage in Azure for each user in my application?

My web app, now have about 40K users. I need to get the size total of the uploaded content user and I work with CDN too, but it's growing about 10K users/month.

If the user pass the limit of 20Mb, I need to send an email informing the user about it.

Now, in Amazon S3, we have just one bucket, and I am using "folders" for each user.

Thanks!!


回答1:


The answer to your question will be based on opinion. However, it is possible to create one container and create virtual directories for each user, if you'd like to go that route. You can learn more about that here: https://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs/#naming-and-referencing-containers-and-blobs



来源:https://stackoverflow.com/questions/35089955/create-a-container-storage-in-azure-for-each-user

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!