서비스 맵 예시

서비스 맵 예시 An architecture diagram generated by Archify. Ingress Controller · Production 네임스페이스 Ingress Controller Frontend · RPS 1000 · P99 50ms · Production 네임스페이스 Frontend RPS 1000 · P99 50ms API Gateway · RPS 800 · P99 100ms · Production 네임스페이스 API Gateway RPS 800 · P99 100ms User Service · RPS 500 · P99 80ms · Production 네임스페이스 User Service RPS 500 · P99 80ms Order Service · RPS 300 · P99 120ms · Production 네임스페이스 Order Service RPS 300 · P99 120ms Redis · Production 네임스페이스 Redis PostgreSQL · 공유 데이터베이스 · Production 네임스페이스 PostgreSQL 공유 데이터베이스 Payment Service · RPS 100 · P99 200ms · Production 네임스페이스 Payment Service RPS 100 · P99 200ms Kafka · Production 네임스페이스 Kafka HTTP Production 네임스페이스 Legend 프런트엔드 백엔드 서비스 데이터 저장소 메시지 버스

의존성 추출 방법

  • • hubble observe --namespace production -o json 으로 플로우를 수집한다
  • • source/destination의 k8s:app= 레이블 쌍을 sort | uniq -c 로 집계해 의존성 그래프를 만든다

지표 읽기

  • • RPS는 hubble_http_requests_total, P99는 hubble_http_request_duration_seconds_bucket 기반이다
  • • Order Service가 PostgreSQL·Kafka·Payment Service로 갈라지는 가장 넓은 팬아웃 지점이다