Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Event Driven Development

Avatar for carnage carnage
March 09, 2018

Event Driven Development

Avatar for carnage

carnage

March 09, 2018
Tweet

More Decks by carnage

Other Decks in Technology

Transcript

  1. What is an event? • Something which has happened in

    the past • Relevant to a domain expert 3
  2. What is an event? • Something which has happened in

    the past • Relevant to a domain expert • Not technical 3
  3. What is an event? • Something which has happened in

    the past • Relevant to a domain expert • Not technical • Raised in response to an input 3
  4. Projections • Turn events into read models • Can be

    eventually consistent • Can be rebuilt 13
  5. Process managers • Handle business logic around events • A

    state machine • Keep track of failures 15
  6. Process managers • Handle business logic around events • A

    state machine • Keep track of failures • Be careful with replays 15