DEV Community

Full Stack Radio

95: Frank de Jonge - Implementing Event Sourcing

Topics include:

  • How to fetch and reconstitute an aggregate from its events
  • Using generators to make it easy to transform event streams
  • What it looks like to apply an event to an aggregate
  • How to create events and what they look like
  • Implementing a message repository for fetching events from storage
  • How to raise events from inside your aggregates
  • How to persist aggregates at the end of a request
  • What it looks like to insert new events into storage
  • Dispatching events to consumers to produce side effects
  • Using event consumers to create and update projections
Sponsors:
  • Netlify, incredibly powerful static site hosting for free
  • Cloudinary, sign up and get 300,000 images/videos, 10GB of storage and 20GB of monthly bandwidth for free
Links:

Episode source