FSM and Event Sourcing
For some while I’ve been kicking around various Proof of Concepts (PoCs) that leverage Finite State Machines (FSM) and Event Sourcing to solve various financial problems. It’s thus nice to read what other people are doing in a similar space. Although old, Ruminations of a Programmer, has an interesting read on the use of Akka coupled with Event Sourcing and FSM. What’s even better is that the posting provides an example from a Trade perspective 🙂 Debasish has a presentation from the Emerging Technologies For The Enterprise conference that provides further reading.
CQRS as a tenet of Even Sourcing, coupled with FSM, provides an interesting solution to the problem of globally distributed events. Leveraging the command-model (FSM) coupled with the query-model (Event Source) allows the building of reliable distributed systems at a worldwide scale where state at certain points are relevant, and needed, but that asynchronous communication is acceptable if achieved over a reliable transport.