Snippets tagged event sourcing

  • Event stream projection with actors

    An example of using an actor (MailboxProcessor) to coordinate the projection of events from an event stream into a persisted projection. This example covers handling simple concurrency conflicts via also persisting and checking the latest event ID with with projection. The update command will take the current projection and apply all new events before persisting it back. The rebuild command will ignore an existing projection and replay all events in the stream.

    5 people like this

    Posted: 9 years ago by Daniel Bradley

  • A Simple Abstraction for Event Sourced Transactions

    A simple abstraction for performing event sourced optimistic transactions

    4 people like this

    Posted: 6 years ago by Eirik Tsarpalis