ES /docs

InvitationOperation synchronous Cognito calls blocking request thread

Service
cupixworks-api
Occurrences
29
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
c92fd4b5-9e33-4e14-a6cd-7d75c9a71395
First Seen
2026-05-26 03:26 UTC
Last Seen
2026-07-13 05:15 UTC
Actions

InvitationOperation synchronous Cognito calls blocking request thread

What Happened#

2026-05-26 03:26~08:27 UTC 사이에 cupixworks-api의 TeamsController#invitation 엔드포인트에서 평균 5172ms, 최대 9275ms의 비정상적 latency가 5개 리전(ca-central-1, ap-southeast-1, ap-northeast-1, ap-southeast-2, us-west-2)에서 8건 발생했다. 원인은 초대 플로우에서 새 사용자 생성 시 AWS Cognito API 호출, Segment Analytics identify, Kinesis event publish가 HTTP 요청 라이프사이클 내에서 동기적으로 순차 실행되기 때문이다.

Quick Facts#

Field Value
resource_name Api::V1::TeamsController#invitation
top_frame app/operations/invitation_operation.rb:61-94
runtime Ruby on Rails (cupixworks-api)
env production (multi-region)

Timeline#

  1. 2026-05-26T03:26:44Z — 최초 latency 감지 (ap-southeast-2, 1541ms)
  2. 2026-05-26T03:30~03:33Zliam.hong@cupix.com이 5개 리전에 동시 초대 수행 (1282~2740ms)
  3. 2026-05-26T08:27:57Z — 최대 latency 발생 (us-west-2, 9274ms, 2명 동시 초대)
  4. 2026-05-27 — RCA 분석 완료

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 14 code refs, 2 log queries
Code path explicitness 3/3 14 file:line refs
Log evidence 3/3 section, query, pattern
RCA structure 3/3 3/3 sections
Revision history 0/3 0 revision(s)
Agent execution 3/3 success

Actionability#

Dimension Score Detail
Fix complexity 1/5 critical
Affected files 1/5 21 file(s)
Single repo 1/3 2 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 1/3 external deps found
Data migration 3/3 no migration