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

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.

主站蜘蛛池模板: 兰西县| 延川县| 鄂托克前旗| 灵宝市| 姚安县| 古丈县| 和政县| 宕昌县| 大方县| 榆社县| 汉阴县| 色达县| 保德县| 手游| 德格县| 亚东县| 保康县| 微博| 新闻| 全南县| 灯塔市| 神木县| 于都县| 南城县| 会东县| 江西省| 宜黄县| 轮台县| 吴桥县| 龙山县| 清水县| 白沙| 鱼台县| 从化市| 吐鲁番市| 镇远县| 吉林市| 彭水| 临泉县| 阿巴嘎旗| 大邑县|