Demo: modeling shipment tracking with and without event sourcing
On This Lesson 3 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
design shipment tracking for FulfillCo two ways on the same requirements and compare.
Draft outline details
Step by step
- Write requirements: current status, full history, carrier corrections, partner feed.
- Sketch option A: event-sourced aggregate with projections for status and partner feed.
- Sketch option B: state table plus history table plus outbox events.
- Planned mistake: model every carrier scan as a domain event and bloat the aggregate; fix by separating domain events from raw carrier telemetry.
- Estimate replay time, storage, and schema-change work for both; record the decision draft.
Prepares SRB-001-LAB1.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.