3 ms·
"every service can just subscribe to the data it needs." Doesn't that imply that each service then has to store any data it receives in these events - potentia
by arethuza 8y ago
"every service can just subscribe to the data it needs."
Doesn't that imply that each service then has to store any data it receives in these events - potentially leading to a lot of duplication and all of the problems that can come with that (e.g. data stores getting out of sync).
- thoman23 8y agoYes, that's exactly what it implies. Like I said at the top of this thread, I'm not an expert on this approach (I've done my reading, but haven't yet spent time in the trenches), but my understanding is that you would embrace the duplication and eventual consistency. I do wonder how well it works in practice though, and how much time you would spend running cross-service reconciliation checks to make sure your independent data stores are still in sync.