How to deal with shared models in micro service architectures

后端 未结 3 1528
被撕碎了的回忆
被撕碎了的回忆 2021-02-14 10:03

My goal is to create an architecture in which services should be able to deploy independent of each other and are completely autonomous, but what do you do when you have 2 servi

3条回答
  •  一个人的身影
    2021-02-14 10:20

    Two microservices should not share same data model. You can create a service which is solely responsible for managing data persistence, and can use it in other services.

提交回复
热议问题