官术网_书友最值得收藏!

  • Microservices with Azure
  • Namit Tanasseri Rahul Rai
  • 133字
  • 2021-07-02 22:18:24

Shared data

Microservices should not share the same data store. Sharing data representation can make altering the database very difficult, and even if done, such a change always runs the risk of causing failure to services that are still using the old data representation. Such challenges ultimately lead to a bloated and complex database and accumulation of lots of dead data over time.

Data replication is a possible solution to sharing data across Microservices. However, data should not be blindly replicated across Microservices as the same problems that are present with shared databases would still remain. A custom transformation process should convert data available from the database to the schema used by the data store of the Microservice. The replication process can be triggered in batches or on certain events in the system.

主站蜘蛛池模板: 韶关市| 孝昌县| 渭南市| 灵山县| 库伦旗| 崇左市| 尼勒克县| 乐山市| 阳高县| 芜湖市| 揭东县| 婺源县| 册亨县| 通化市| 南平市| 丰顺县| 江安县| 巴青县| 班戈县| 钦州市| 淮滨县| 昭平县| 长岛县| 界首市| 巩留县| 八宿县| 浏阳市| 如皋市| 龙江县| 佛学| 麻栗坡县| 大竹县| 灵宝市| 安仁县| 伊金霍洛旗| 土默特右旗| 仁寿县| 奉贤区| 南开区| 禄劝| 广东省|