Tech Lead Journal

#66 - Time and Temporal Modeling in Event Sourcing - Tomasz Jaskula

10 snips
Nov 29, 2021
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

DDD and Bounded Context

  • DDD's strategic part, especially bounded contexts, helps to avoid creating overly complex models.
  • Bounded contexts allow different meanings for the same concept in different contexts, like "product" in e-commerce.
INSIGHT

DDD and Functional Programming

  • Functional programming's immutability aligns with DDD's domain events, which are unchangeable facts.
  • This synergy is evident in event sourcing and CQRS, where functions apply commands to produce new states.
INSIGHT

Temporal Modeling

  • Temporal modeling uses time-based artifacts, like domain events, as primary modeling elements.
  • Explicitly modeling time prevents accidental complexity, leading to more manageable software.
Get the Snipd Podcast app to discover more snips from this episode
Get the app