Skip to content

perf(shared): hot path 할당과 queue 이동 비용을 줄임 - #65

Merged
park285 merged 1 commit into
mainfrom
work/shared-go-hotpaths-20260826
Aug 26, 2026
Merged

perf(shared): hot path 할당과 queue 이동 비용을 줄임#65
park285 merged 1 commit into
mainfrom
work/shared-go-hotpaths-20260826

Conversation

@park285

@park285 park285 commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • rate-limit hash/XFF와 Unicode truncate hot path의 할당을 줄입니다.
  • managed worker/finalizer queue를 bounded ring으로 바꾸어 장기 FIFO 이동 할당을 제거합니다.
  • 기존 promptguard cache key는 64자 SHA-256 hex 계약을 유지합니다.

Validation

  • focused race: httputil, promptguard, stringutil, workerpool PASS
  • golangci-lint 0 issues
  • full go test ./... PASS
  • representative benchmarks -benchtime=1x PASS

Fallback delta: none.

@park285
park285 merged commit 49fe9a3 into main Aug 26, 2026
@park285
park285 deleted the work/shared-go-hotpaths-20260826 branch August 26, 2026 12:34
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