Skip to content

♻️refact:/api/expend/graph 성능 향상 4,004 ms -> 108.2ms#104

Merged
tkv00 merged 4 commits intomasterfrom
102-refact-expendgraph-performance-improvement
Jul 26, 2025
Merged

♻️refact:/api/expend/graph 성능 향상 4,004 ms -> 108.2ms#104
tkv00 merged 4 commits intomasterfrom
102-refact-expendgraph-performance-improvement

Conversation

@tkv00
Copy link
Contributor

@tkv00 tkv00 commented Jul 26, 2025

#️⃣연관된 이슈

#102

ex) #이슈번호, #이슈번호

📝작업 내용

  1. hikari connection pool를 로컬 환경에 맞게 size를 조정. (4,004ms -> 722.59ms 454.118% 향상)

  2. 기존 쿼리문에서 쿼리 튜닝을 통해 1개의 쿼리로 서비스 로직을 처리. (722.59 ms -> 642.51 ms 12.463% 향상)

  3. Caffeine 캐시 적용. (642.51ms -> 108.1ms 494/36% 향상)

최종적으로 다음과 같은 성능 개선을 달성했습니다.

  • 평균
    • 4,004 ms -> 108.2 ms ↑3,600.554% 향상
  • P95
    • 11,000 ms -> 480 ms ↑2,191.666% 향상

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)

스크린샷 (선택)

💬리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

@tkv00 tkv00 added ♻️리팩토링 This issue or pull request already exists ✏️수정 Extra attention is needed labels Jul 26, 2025
@tkv00 tkv00 linked an issue Jul 26, 2025 that may be closed by this pull request
@tkv00 tkv00 added the 중요도⭐️⭐️⭐️ This will not be worked on label Jul 26, 2025
@tkv00 tkv00 merged commit 8f6efd6 into master Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️리팩토링 This issue or pull request already exists ✏️수정 Extra attention is needed 중요도⭐️⭐️⭐️ This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refact : /expend/graph 성능 개선

1 participant