
Understanding When and When Not to Use Microservices with Rahul Rai
Coding Over Cocktails
The Integration Patterns of REST, REST and Data Replication
In a microservices world, a microservice is the source of truth for the domain that it is working on. So in this model you share data between micro services by transforming the data that is available on a database onto another replica which is used by another microservice. The same data can be used by different services to carry out their own responsibility. In such cases, it's always a better choice to replicate the data. You don't have to actually copy data from one database to another by running the v-patch operations or SSIs, jobs or any other transformation service. And through that another replica of the database can be hydrated and that's what can be use by other services.
00:00
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.