Performance Azure Blob vs Azure Table

孤街浪徒 提交于 2019-12-10 03:26:24

问题


I have around 300 million text files, ranging from 50kb to 100kb that I need to read and serve on a web page.

Remarks:

On Azure Table, I would need to split some of the text files, to make sure it doesn't exceed the maximum of 64kb per column.

On Azure Blob, I would not have the problem of splitting, but would need to store a reference to them on the Azure SQL/Azure Table.

Okay, intro is done! Now, on my Azure Web App:

  1. Would be faster to read the text file from Azure Blob or from Azure Table?
  2. Would the Azure Table be able to process more requests?

回答1:


I agree with Andrei M. The best solution is blob storage with a table service or even a sql database to store reference.

Just one more thing, if you plan to search for content in those file, neither table service / blob will be good for that. If that's the case, I recommend you setup a VM with elastic search / solr and index those contents.

PS: there's also Azure Search, for that, you can give it a try too.




回答2:


Blob storage is better then Table storage if you want to work with files. I definitely would not want to deal with file chunks in a table. If you need to keep references to your blobs, how about combining two options and use Table storage for references? I think this would be the best in terms of performance :).



来源:https://stackoverflow.com/questions/32563175/performance-azure-blob-vs-azure-table

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