Skip to content
Ameen Abozaid
Planned lessonSRB-001-L07

Demo: modeling shipment tracking with and without event sourcing

  • Lesson 7 of 8
  • Senior B
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

  1. Write requirements: current status, full history, carrier corrections, partner feed.
  2. Sketch option A: event-sourced aggregate with projections for status and partner feed.
  3. Sketch option B: state table plus history table plus outbox events.
  4. Planned mistake: model every carrier scan as a domain event and bloat the aggregate; fix by separating domain events from raw carrier telemetry.
  5. 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.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.