ES /docs

Api::V1::WorkspacesController#share (avg 10639ms, max 10639ms)

Service
cupixworks-api
Occurrences
1
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
a85d08fa-e15f-4954-9fe8-14113157333f
First Seen
2026-08-06 17:51 UTC
Last Seen
2026-08-06 17:51 UTC
Actions

Api::V1::WorkspacesController#share (avg 10639ms, max 10639ms)

What Happened#

PUT /api/v1/workspaces/5853/share 요청 하나가 10639 ms 걸렸다. HTTP 200 으로 정상 성공했으나, 새 이메일 5명을 초대하면서 각 초대자마다 Cognito 사용자 계정을 request thread 안에서 순차 생성했다. Cognito API 호출 26회(약 4.8초) 와 초대자별 권한 부여 SQL 354건(약 4.2초 wall)이 합쳐져 지연이 발생했다. 코드 결함이 아니라 초대 인원에 비례하는 synchronous fan-out 성능 문제다.

Quick Facts#

Field Value
cluster_type latency (exception 아님)
resource_name Api::V1::WorkspacesController#share
http.route /api/v1/workspaces/:id/share
http.method / status_code PUT / 200
avg / max duration 10639 ms / 10639 ms
top_frame app/repositories/concerns/sharable_repository.rb:155 (InvitationOperation.invite_people)
deploy production-us-west-2-20260806T1506Z0-9b66f324-cupixworks
host ip-10-1-16-80.us-west-2.compute.internal
env production, us-west-2
trace_id / request_id 3186060758106362080 / 895db26e-f784-41e5-875e-d050f18e23fe

Affected Teams#

Team / Domain Error Count Impact
cupix (tenant southlandind.com) 1 trace (5 invitees) 워크스페이스 공유 시 초대 이메일 수에 비례한 응답 지연. 성공(200)하나 사용자가 10초 대기

Timeline#

  1. 2026-08-07 02:51:44 KSTPUT /api/v1/workspaces/5853/share 요청 시작 (request_id 895db26e...)
  2. 2026-08-07 02:51:45 KST — 첫 초대자 tpickrell@southlandind.com Cognito 생성 시작
  3. 2026-08-07 02:51:47 ~ 02:51:53 KST — 초대자 reyna.hughes / dbernstein / mhallenbeck / aking 순차 Cognito 생성 (약 2초 간격)
  4. 2026-08-07 02:51:55 KST — 마지막 초대자 aking@southlandind.com Cognito 생성 완료
  5. 2026-08-07 02:51:55 KST — 요청 종료, 총 10639 ms 소요, HTTP 200

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 16 code refs, 5 log queries
Code path explicitness 3/3 16 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 30 file(s)
Single repo 1/3 3 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