← Graph

How to persist commands in an event-sourced system?

question 2 connections

Audience member from an OO/relational background asks whether commands are stored in the database alongside events. Pašalić logs commands rather than storing them, but notes Nathan sources commands as well in event IDs. Decision is business-driven: events are facts that happened, commands are intent that may never materialize, so persist commands only if business-relevant.

answer_summary
Pašalić logs commands rather than storing them; Nathan sources them in event IDs. Persist commands only if they are business-relevant.
question How to persist commands in an event-sourced system?
about
Event Sourcing concept
Question concerns whether commands belong in the event-sourced store.
question How to persist commands in an event-sourced system?
asked_at
Asked during the talk's Q&A.

Provenance

Read by
16 extractions