Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Command(A) arrives at AR(1)
  2. AR(1) loads its history [x,y,z]
  3. AR(1) executes Command(A), producing events [a,b,c]
  4. AR(1) writes its new history [x,y,z,a,b,c]
  5.  
  6. Events(a,b,c) are published
  7.  
  8. ProcessManager receives the events (a,b,c)
  9. ProcessManager dispatches Command(B) to AR(2)
  10.  
  11. Command(B) arrives at AR(2)
  12. AR(2) loads its own history [d,e,f]
  13. AR(2) executes Command(B), producing events [g,h]
  14. AR(2) writes its new history [d,e,f,g,h]
  15.  
  16. Events(g,h) are published
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement