perf: L1/L2 캐시 maxSize 상향 (실측 기반)

- L1 FiveMinTrackCache: 500K→700K (실측 504K, 30% 여유)
- L2 HourlyTrackCache: 780K→1.4M (실측 1.08M, 30% 여유)
- 기존 산정: 30K MMSI × 버킷 → 실측: 190K MMSI (6.3배 과소 산정)
- L2 메모리 영향: +1.5GB (총 8.6GB, 힙 20~24GB 기준 36~43%)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
htlee 2026-02-19 19:09:29 +09:00
부모 029f912783
커밋 4b8b48e494
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제

파일 보기

@ -278,11 +278,11 @@ app:
five-min-track: five-min-track:
ttl-minutes: 75 ttl-minutes: 75
max-size: 500000 max-size: 700000 # 500K→700K (실측 504K, 30% 여유)
hourly-track: hourly-track:
ttl-hours: 26 ttl-hours: 26
max-size: 780000 max-size: 1400000 # 780K→1.4M (실측 1.08M, 30% 여유, +1.5GB)
# 일일 항적 데이터 인메모리 캐시 # 일일 항적 데이터 인메모리 캐시
cache: cache:

파일 보기

@ -282,11 +282,11 @@ app:
five-min-track: five-min-track:
ttl-minutes: 75 # TTL 75분 (1시간 + 15분 여유) ttl-minutes: 75 # TTL 75분 (1시간 + 15분 여유)
max-size: 500000 # 30K MMSI × 15 버킷 max-size: 700000 # 실측 504K (190K MMSI × ~3 버킷), 30% 여유
hourly-track: hourly-track:
ttl-hours: 26 # TTL 26시간 (24시간 + 2시간 여유) ttl-hours: 26 # TTL 26시간 (24시간 + 2시간 여유)
max-size: 780000 # 30K MMSI × 26시간 max-size: 1400000 # 실측 1.08M (190K MMSI × ~6 버킷), 30% 여유
chnprmship: chnprmship:
mmsi-resource-path: classpath:chnprmship-mmsi.txt mmsi-resource-path: classpath:chnprmship-mmsi.txt