locked
What kind of storage RRS feed

  • Question

  • Hi im new to azure, and have my first website running.
    I wish to be able to write a couple of xml files that needs to be persistant, when a button click is hit, and updated when the user hits the button again. The data to be written to theese xml files is retreived from a webservice call to an external datasource.
    What is best practice? and what kind of storage is the best to this scenario?

    Thursday, April 14, 2011 8:36 AM

Answers

  • Hi,

    You can either use Table Storage or Blob Storage to store the XML content. With Table Storage, you can always create a new entity in table storage and stores the modified data in the new entity. This way you'll have a nice audit trail. The only problem you would run into with table storage is when your XML data is big as each entity can hold up to 1 MB of data with some space reserved for PartitionKey, RowKey and Timestamp attributes. If you think that your data can grow beyond 1MB, you may want to look at storing this XML data as files in blob storage where each file can be up to 200 GB in size. For audit trail purposes you may want to look into Snapshot blob functionality (http://msdn.microsoft.com/en-us/library/ee691971.aspx) which creates a read-only copy of the blob.

    Hope this helps.

    Thanks

    Gaurav Mantri

    Cerebrata Software

    http://www.cerebrata.com

     

    • Proposed as answer by dropoutcoder Friday, April 15, 2011 8:31 AM
    • Marked as answer by Wenchao Zeng Thursday, April 21, 2011 5:11 AM
    Thursday, April 14, 2011 8:54 AM