Coding Over Cocktails cover image

Understanding When and When Not to Use Microservices with Rahul Rai

Coding Over Cocktails

00:00

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.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app