전체 topology

API 서버 · 세션 서버 · 도메인 서버 · location store

전체 topology API 서버 · 세션 서버 · 도메인 서버 · location store 클라이언트 앱 · Architecture component 클라이언트 앱 Location store · Architecture component Location store HTTP endpoint · POST /games · API 서버 (예: Api) HTTP endpoint POST /games channel client · API 서버 (예: Api) channel client spot client · API 서버 (예: Api) spot client actor client · API 서버 (예: Api) actor client STREAM node · 세션 서버 (예: Session) STREAM node session relay · 세션 서버 (예: Session) session relay node handler · 도메인 서버 (예: Play) node handler Instance Spot · 도메인 서버 (예: Play) Instance Spot entry spot · 배정 · 도메인 서버 (예: Play) entry spot 배정 user spot · actor · 도메인 서버 (예: Play) user spot actor 1 HTTP 요청 2a ClientServer channel 2b RouteMesh channel 2c id로 Spot 호출 2d id로 Actor 호출 3 STREAM 접속 relay 4 RouteMesh channel 주소 해석 등록 API 서버 (예: Api) 세션 서버 (예: Session) 도메인 서버 (예: Play)

API 서버에서 나가는 길

  • • channel client — 이름으로 부른다. handler 하나가 처리하면 ClientServer channel, 상태 단위가 받아야 하면 RouteMesh channel
  • • spot client — id로 Spot을 부른다
  • • actor client — id로 Actor를 부른다

세션 서버

  • • STREAM node가 client 연결을 받아 session relay하고, RouteMesh channel로 spot의 actor에 전달한다
  • • 도메인 서버에 함께 둘 수는 있으나 일반적인 모양은 아니다 — 연결 수와 상태 처리량이 따로 늘기 때문이다

Location store = discovery만

  • • 서버 주소 정보만 관리한다. 점선은 store 조회로 endpoint를 찾는 연결이며 데이터 경로가 아니다