RafaelGSS / blog

My personal blog :star:
https://blog.rafaelgss.com.br
4 stars 1 forks source link

Autonomous Microservices - Outbox Pattern #41

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Autonomous Microservices - Outbox Pattern

A tech blog focused on Application Performance and Software Architecture. The Front-end is just JSON over here.

https://blog.rafaelgss.com.br/autonomous-microservices

promontis commented 1 year ago

I hope you don't mind me giving some feedback on this article.

The problem I have, is that you are not replicating data, you are duplicating data (email, full_name) to both services. With that, you loose ownership and autonomy of that data, and is not good.

The solution to this is to not duplicate the data, and use view model, UI or any other form of composition. Like this: https://www.youtube.com/watch?v=hev65ozmYPI