As you know, when using Azure DocumentDB, you can automatically replicate all of your data to any number of regions.
How can I achieve something like this in Azure Storage (specially Table Storage)?
I know that you can replicate copies of your data, either within the same data center, or to a second data center (Read-access geo-redundant storage (RA-GRS)), but this is more like a disaster recovery solution.
I want my data to be available in multiple regions and replicated automatically between them (just like what DocumentDB offers).
Lets say I have a web application and using traffic manager it is distributed in 4-5 regions. I want my Azure Storage data to be available in all that regions and read data locally (in the same datacenter).
Is there an option to have global replication automatically? Or do I need to implements this myself?
Azure provides several storage solutions that make use of cross-region replication to ensure data availability. For example, Azure geo-redundant storage (GRS) replicates data to a secondary region automatically. This approach ensures that data is durable even if the primary region isn't recoverable.
Zone redundancy - whether data is replicated between different zones within the primary region (LRS vs. ZRS) Geo-redundancy - replication within a single "local" region or between different regions (LRS vs. GRS)
Regarding the geo-redundant storage option: you can absolutely access the secondary location (just a different connection string). However, access would be read-only, and the data is eventually consistent - you cannot find out whether specific data has been replicated (there's no replication SLA).
If you want absolute ability to control replication, and to write in multiple regions, you'd need to replicate the data to storage in different regions, as the feature you're looking for doesn't exist for Azure Tables.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With