[英]Multi region architecture with active active mode azure
I have some doubts about implementing a multi-region architecture in azure, I am running my application currently in one region and I am saving some data in blob storage and others in the PostgreSQL database.我对在 azure 中实现多区域架构有一些疑问,我目前在一个区域中运行我的应用程序,我将一些数据保存在 blob 存储中,其他数据保存在 PostgreSQL 数据库中。 I wanted to replicate my whole architecture in different regions to be near to other customers.我想在不同地区复制我的整个架构,以接近其他客户。 So I will be using Traffic manager to route the traffic based on the source region, but when doing my research about the replica for databases and data storage I find that the replica is in read-only mode.因此,我将使用流量管理器根据源区域路由流量,但在研究数据库和数据存储的副本时,我发现副本处于只读模式。 So if want to have active/ active region architecture what should I do exactly?那么,如果想要有源/有源区域架构,我应该怎么做呢?
Building a true active-active architecture with any relational database is tricky, since as you pointed out, all the replicas are read-only.使用任何关系数据库构建真正的主动-主动架构是很棘手的,因为正如您所指出的,所有副本都是只读的。 There are a couple of avenues you can pursue:您可以采用以下几种途径:
You can explore general guidance about Mission-Critical workloads on Azure here .您可以在 Azure 此处探索有关关键任务工作负载的一般指南。 And there is a fully fledged reference implementation for active-active using Cosmos DB: https://github.com/Azure/Mission-Critical-Online并且有一个使用 Cosmos DB 的主动-主动的完整参考实现: https://github.com/Azure/Mission-Critical-Online
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.