Skip to content

test(import-session): measure Core relay sizing for full pages - #181

Merged
liveforpresent merged 3 commits into
mainfrom
chore/import-session-list-relay-sizing
Dec 2, 2026
Merged

liveforpresent merged 3 commits into
mainfrom
chore/import-session-list-relay-sizing

Conversation

@liveforpresent

@liveforpresent liveforpresent commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

ADR-093 목록의 운영 예산을 판단하기 위해 Go가 실제 반환한 페이지를 Core 검증 방식 두 가지로 계측했습니다. 페이지 전체를 받아 항목별로 검증한 뒤 길이와 SHA-256으로 원문 보존을 확인했습니다.

Changes

  • 같은 TLS 응답을 메모리 버퍼와 임시 파일로 각각 받아 비교했습니다. 약 94 MiB 응답 두 건에서 기준 대비 피크 JVM heap은 약 654 MiB와 약 217 MiB였습니다.
  • 같은 저장 크기의 quality 필드를 바꾼 Go 응답이 약 284 MiB까지 커지고, 128 MiB 시험 상한에서 503이 나는 것을 재현했습니다.
  • 운영 상한을 정하기 전에 필요한 최대 byte·token 검증, payload 소유권, Core staging 총량·정리와 실제 응답 write 수명을 기록했습니다. 측정 및 검증 기록

@liveforpresent
liveforpresent merged commit 3380c64 into main Dec 2, 2026
1 check passed
@liveforpresent
liveforpresent deleted the chore/import-session-list-relay-sizing branch December 2, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant