ZLink 방식 — 배달 주문 앱

서버 간은 channel 직접 · location store는 주소 해석(discovery)만

ZLink 방식 — 배달 주문 앱 서버 간은 channel 직접 · location store는 주소 해석(discovery)만 클라이언트 앱 · Architecture component 클라이언트 앱 L7 LB / gateway · HTTP는 그대로 · Architecture component L7 LB / gateway HTTP는 그대로 앱 서버 ×N · API + ZLink · Instance Spot · Architecture component 앱 서버 ×N API + ZLink · Instance Spot Session 서버 ×N · WebSocket · 세션 보유 · Architecture component Session 서버 ×N WebSocket · 세션 보유 location store · 주소 해석용 (discovery) · Architecture component location store 주소 해석용 (discovery) HTTP (주문·조회) WebSocket 요청 relay (channel) 배달 상태 push (channel) 주소 해석 등록

서버 간 messaging (핵심)

  • • 앱 서버 ↔ Session 서버: 요청 relay와 배달 상태 push를 channel 직접(브로커·LB 없이)
  • • 앱 서버: Instance Spot이 주문 하나를 직렬 소유 — 분산 락 불필요
  • • Session 서버: WebSocket으로 고객 세션 보유, host relocation 단위 → 무중단 패치

location store = discovery만

  • • 주소 해석·등록(어느 노드에 있는지)만 담당 — 데이터/메시지 경로가 아니다
  • • 그래서 연결이 점선(control plane)