2 ms·
Either way you're coupled to your data. It has to come from somewhere. The alternative is that the "origin" of the data either posts it to me (so my origin has
by mvdtnz 3y ago
Either way you're coupled to your data. It has to come from somewhere. The alternative is that the "origin" of the data either posts it to me (so my origin has a direct dependency on me and any other service that wants to use that data) or the origin fires events which I subscribe to, in which case I have that same tight coupling but I need to deal with circumstances where the event source fails (no one likes to talk about this but it happens, often).
Not only that but if I ever want to change data I now need to somehow inform the origin that the data has changed. Coupling me even more strongly.
The coupling is inherent. Things are simpler if you keep the source of truth in one place.