Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Tracking Issue for 1.0 #1

Open
8 of 14 tasks
ryan-mars opened this issue May 3, 2021 · 5 comments
Open
8 of 14 tasks

Tracking Issue for 1.0 #1

ryan-mars opened this issue May 3, 2021 · 5 comments
Milestone

Comments

@ryan-mars
Copy link
Owner

ryan-mars commented May 3, 2021

Overview

The following issues track discussion and implementation of key features of Stochastic for Event Storm -> Code.

Event Storming

Process Modeling

Illustration ©️ Avanscoperta

Sample use case

The utility of stochastic would be best demonstrated through a useful example app. We'll resurrect Pan-Am airlines for this.

The story goes roughly like this:

  • Scheduler adds flights to schedule
  • I book a ticket
  • I select dates, origin, destination
  • I select my seat (contention around resources)
  • I pay
  • I cancel my ticket
  • Seat is released
  • Cancellation policy does different stuff depending on your status level
  • Refund
  • Credit
  • I check in (traveler)
  • I board (gate agent)
  • Dispatcher does out, up, on, in
  • Loyalty policy awards points
  • Dispatcher cancels flight
  • Deplane
  • Manifest is cleared
  • Rebooking policy rebooks according to status

Big Picture

Big Picture Event Storm

Process Model

Process Model Event Storm

Software model

Software Model

@ryan-mars ryan-mars added this to the Demo milestone May 3, 2021
@sam-goodwin
Copy link
Contributor

What features are we missing from the current state of the code to support this tracer bullet? A model/pattern for external systems? A consistency model for an aggregate, i.e. Seating?

@ryan-mars
Copy link
Owner Author

Updated the Even Storm to add Software model

@ryan-mars
Copy link
Owner Author

@sam-goodwin I'm going to start implementing the demo and find out. Off the top of my head...

  • Bounded Context types/infra/runtime
  • Partition event storm into multiple Cfn stacks
  • Event subscription across bounded contexts infra/runtime
  • Aggregate types/infra/runtime
  • Event replay types/infra/runtime
  • Command infra/runtime
  • Read model infra/runtime
  • Query infra/runtime

@sam-goodwin
Copy link
Contributor

sam-goodwin commented May 3, 2021

Partition event storm into multiple Cfn stacks

A single event storm in multiple stacks? Or should a single event storm be tied to a stack? Is this modeled on the declarations of commands/events/policies/etc. or is it where the infrastructure interpreter is configured? Let's create an issue to track each of these items so we can have a detailed discussion and record our decisions.

@ryan-mars ryan-mars pinned this issue May 4, 2021
@ryan-mars
Copy link
Owner Author

A single event storm in multiple stacks?

Moving discussion to Bounded Context #7

@ryan-mars ryan-mars changed the title Tracking Issue for Demo: Event storm -> Code Tracking Issue for Demo May 23, 2021
@ryan-mars ryan-mars changed the title Tracking Issue for Demo Tracking Issue for 1.0 May 25, 2021
@ryan-mars ryan-mars modified the milestones: Demo, 1.0 May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants