Settings

Theme

Mealy Machines, Moore Machines, and Why Event Sourcing Works

kevinwebber.ca

26 points by kw3b 2 months ago · 2 comments

Reader

aeve890 2 months ago

>Consider a bank account

Always the same example. I've yet to see a real world example of a production system designed around event sourcing.

  • eithed 2 months ago

    I think that educators go to the bank account example, because it is easy to explain + (I suspect) non-modifyable bank ledger with add-only transactions is the source of this pattern. In real world I've applied event sourcing to following domains: insurance policy, anniversary process (your policy ends, new one begins, emails are sent, payment subscriptions restart etc = both replayable / non-replayable operations), different payment flows, can answer questions (am not OP) :)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection