[spacer] [spacer] [spacer]

Sign up with your email address to be the first to know about new publications

[spacer]
2 Responses
  • Mircea
    13 . 01 . 2021

    I tried finding some documentation related to how the failover to the secondary storage is handled in case of object replication. Does the client needs to design the application so that in case the primary is down the request is redirected to the secondary read-only storage or does the Azure handles that automatically? If latter, does this mean for each request the application must go initially to the primary storage in order to be redirected to the secondary storage?

    Sorry if this is not the right place for these questions but I didn’t find any docs on Azure regarding this.

    • David Alzamendi
      14 . 01 . 2021

      Hi Mircea,

      Thank you for reading the article!

      Good question, I am not sure if I understood the question, but I will try to answer it.

      Without taking into account this feature:
      When you create the storage account and at the storage account level, you defined the redundancy of the data, for example:
      Locally redundant storage (LRS)
      Zone-redundant storage (ZRS)
      Geo-redundant storage (GRS)
      Geo-zone-redundant storage (GZRS)

      Objects are already being replicated at bear minimum 3 times within the same data centre (LRS), the redundancy can be increased by going to other options like ZRS, GRZ. Failovers and outages are managed by Microsoft. Also, Microsoft replicates the objects automatically.

      Taking into account this feature:
      With Azure Storage Replication, you get some control on which objects you replicate between different storage accounts. Now, each storage account could have different redundancy options, you could be replicating an object from a “storage account A” that uses LRS to another “storage account B” that uses ZRS. This will mean as well, that you will need to build logic in the application to try to read files from “storage account A” if “storage account B” is not available (maybe overkill if both storage accounts are using ZRS or GRS).

      Recommended msdn documentation: https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy

      Happy to provide more information.

Do you want to leave a comment?

Your email address will not be published. Required fields are marked *