Skip to content

feat: Improve/performance#7

Merged
jun-ha merged 4 commits intomainfrom
improve/performance
May 4, 2025
Merged

feat: Improve/performance#7
jun-ha merged 4 commits intomainfrom
improve/performance

Conversation

@jun-ha
Copy link
Member

@jun-ha jun-ha commented May 4, 2025

작업내용

  • requester.request() 메서드를 I/O bound, CPU bound 작업으로 분리

    • I/O Bound : fetch() - 각 플랫폼에 데이터 요청
    • CPU Bound : parse(), transform() - 응답받은 데이터를 파싱 및 변환
  • 분리된 작업을 서로 다른 스레드풀에서 처리

    • I/O Thread Pool : size = 100, fetch() 작업 처리
    • (default) ForkJoinPool.commonPool() : size = CPU 코어 수 - 1, parse(), transform() 작업 처리
  • stream.parallel() 로 각 CompletableFuture 병렬 처리 적용

  • PLAB 풋볼 데이터 구조 변경 대응

@jun-ha jun-ha merged commit 84ad109 into main May 4, 2025
1 check passed
@jun-ha jun-ha deleted the improve/performance branch May 4, 2025 02:16
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