Mais conteúdo relacionado
Semelhante a Lagom で学ぶ Reactive Microservices Architecture @ 第3回Reactive System Meetup in 西新宿 (20)
Lagom で学ぶ Reactive Microservices Architecture @ 第3回Reactive System Meetup in 西新宿
- 55. Event Sourcing?
システムの中で起きたイベントを永続化する
イベントをデータストアに INSERT していく
© 2016 TIS Inc.
口座番号:10の口座を開設
Event Entity State
口座番号: 10, 残高: 0 円口座番号:10の口座を開設
Event Entity State
口座番号: 10, 残高: 10,000 円
10,000円 振込
口座番号:10の口座を開設
Event Entity State
2,000円 引出
口座番号: 10, 残高: 8,000 円
10,000円 振込
口座番号:10の口座を開設
Event Entity State
2,000円 引出
口座番号: 10, 残高: 18,000 円
10,000円 振込
10,000円 振込
55 / 92
- 56. Event Sourcing?
システムの中で起きたイベントを永続化する
イベントをデータストアに INSERT していく
© 2016 TIS Inc.
口座番号:10の口座を開設
Event Entity State
口座番号: 10, 残高: 0 円口座番号:10の口座を開設
Event Entity State
口座番号: 10, 残高: 10,000 円
10,000円 振込
口座番号:10の口座を開設
Event Entity State
2,000円 引出
口座番号: 10, 残高: 8,000 円
10,000円 振込
口座番号:10の口座を開設
Event Entity State
2,000円 引出
口座番号: 10, 残高: 18,000 円
10,000円 振込
10,000円 振込
口座番号:10の口座を開設
Event Entity State
2,000円 引出
口座番号: 10, 残高: 18,000 円
10,000円 振込
10,000円 振込
56 / 92