Skip to content

Refactor: 백엔드 추천 성능 최적화 - #27

Merged
Heyaaz merged 5 commits into
mainfrom
agent/backend-optimization-local-history
Jul 8, 2026
Merged

Refactor: 백엔드 추천 성능 최적화#27
Heyaaz merged 5 commits into
mainfrom
agent/backend-optimization-local-history

Conversation

@Heyaaz

@Heyaaz Heyaaz commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • 백엔드 추천/방 상세/외부 인기도 조회 성능 최적화

Changes

  • 일정 생성 LLM refinement timeout 설정화 및 sibling-safe fallback 적용
  • 일정 생성 저장 place/user prefetch 및 slot/score batch save 적용
  • 방 상세 scheduleState 다중 옵션 batch assembler 적용
  • 외부 인기도 동기화 active place 조회 DB limit 적용
  • 성능 회귀 테스트 및 Kotlin compiler 세션 아티팩트 ignore 추가

Verification

  • Not run

  • Build

  • Test

  • Manual

  • ./gradlew compileKotlin compileTestKotlin --console=plain

  • DOCKER_HOST=unix:///Users/byeonheejae/.docker/run/docker.sock ./gradlew test --tests '*RoomScheduleQueryCountTest' --tests '*ScheduleGenerationPerformanceTest' --tests '*ExternalPopularity*' --console=plain

  • DOCKER_HOST=unix:///Users/byeonheejae/.docker/run/docker.sock ./gradlew test --tests '*ConsensusServiceTest' --tests '*ScheduleServiceTest' --tests '*ScheduleGenerationPerformanceTest' --console=plain

  • DOCKER_HOST=unix:///Users/byeonheejae/.docker/run/docker.sock ./gradlew test --console=plain

Notes

@Heyaaz Heyaaz left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nogada PR Review

Verdict

  • 승인 가능: blocking 이슈 없음

Blocking issues

  • 없음

Non-blocking notes

  • ./gradlew clean test --no-daemon --no-build-cache는 fresh detached worktree에서 성공함.
  • 테스트 종료 시 Hibernate/Testcontainers 정리 로그가 noisy하지만, Gradle exit 0이고 XML 기준 실패/에러 없음.

Checked scope

  • 추천 생성 성능 최적화: LLM refinement 병렬 실행, per-option timeout/fallback, timing log
  • LLM refined slot 이후 cross-option same-order 중복 제거 로직
  • schedule generation persistence의 place/user batch lookup 및 child saveAll 경로
  • 방 상세 scheduleState batch formatting, schedule detail metrics/scores/slots batch 조회
  • external popularity sync의 bounded page query
  • 검증: git diff --check origin/main...pr-27 통과
  • 검증: test XML summary files=18, tests=88, failures=0, errors=0, skipped=0

@Heyaaz
Heyaaz merged commit 65ab857 into main Jul 8, 2026
1 check passed
@Heyaaz
Heyaaz deleted the agent/backend-optimization-local-history branch July 8, 2026 02:58
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