by sfrensch · 4y ago · 0 comments
As an example, imagine a small system where a user changes their email address. In the beginning you might only have one action "update database". As the system grows, maybe new teams start to add new features triggered from that event, say "send confirmation email", "calculate fraud score", "send new email to marketing vendor". You could just go and call all those APIs, but at some point you want to emit a "change email event" and just let the other systems do with it what they will.
Refer to the first 3 bullet points of the Bezos Mandate.
In fact it is this that makes event driven so attractive, rather the solving a difficult problem right now, someone will need to sort out the mess later.