구현 구조 — Client · Shared · Server

모든 언어가 같은 logical component를 같은 책임으로 구현한다 (API=인증·record, Play=stream·game state)

구현 구조 — Client · Shared · Server 모든 언어가 같은 logical component를 같은 책임으로 구현한다 (API=인증·record, Play=stream·game state) Program · Client Program Scenario · 인증~관찰 종료 assertion · Client Scenario 인증~관찰 종료 assertion Configuration · role·channel·mesh·key · Shared Configuration role·channel·mesh·key Protobuf Contracts · bingo_messages.proto · Shared Protobuf Contracts bingo_messages.proto Program · Server / API — 인증·record·매칭 조율 Program Handlers · Server / API — 인증·record·매칭 조율 Handlers Player Record Store · Server / API — 인증·record·매칭 조율 Player Record Store Program · Server / Matchmaking — reservation Program Application · Server / Matchmaking — reservation Application Infrastructure · Redis·Instance Spot Adapter · Server / Matchmaking — reservation Infrastructure Redis·Instance Spot Adapter Program · Server / Session — 연결·relay Program STREAM Session · Handlers · Server / Session — 연결·relay STREAM Session Handlers Program · Server / Play — stream·game state Program Domain · Card·Game·Room State · Server / Play — stream·game state Domain Card·Game·Room State Infrastructure · Player Actor·Entry·Room Spot · Server / Play — stream·game state Infrastructure Player Actor·Entry·Room Spot Client Shared Server / API — 인증·record·매칭 조율 Server / Matchmaking — reservation Server / Session — 연결·relay Server / Play — stream·game state

전체 트리 경로와 색

  • • 루트 Bingo Sample의 top-level 3개: Client · Shared · Server. Server가 API·Matchmaking·Session·Play를 담는다. 색: Client·API=파랑(app), Play·Matchmaking=초록(Spot·actor·game state), Session=회색(연결·relay infra), Shared=회색(공통 자산).
  • • Client { Program, Scenario } · Shared { Configuration, Protobuf Contracts }.

Server / API · Matchmaking · Session 하위

  • • API { Program, Handlers, Player Record Store }.
  • • Matchmaking { Program, Application, Infrastructure { Redis Adapter, Instance Spot Adapter } }.
  • • Session { Program, STREAM Session { Handlers } }.

Server / Play 하위 파일

  • • Program.
  • • Domain { Bingo Card, Bingo Game, Bingo Room State }.
  • • Infrastructure { Player Actor { Actor Relocation Adapter }, Entry Spot { Handlers }, Bingo Room Spot { Room Relocation Adapter, Handlers } }.