pricelees 162e5bbc79 [#70] 중복 조회 로직에 로컬 캐시 도입 (#71)
<!-- 제목 양식 -->
<!-- [이슈번호] 작업 요약 (예시: [#10] Gitea 템플릿 생성) -->

## 📝 관련 이슈 및 PR

**PR과 관련된 이슈 번호**
- #70

##  작업 내용
<!-- 어떤 작업을 했는지 알려주세요! -->
- Spring Cache + Caffeine 도입
- 테마 조회 및 수정 / 삭제 로직에 캐시 적용

## 🧪 테스트
<!-- 어떤 테스트를 생각했고 진행했는지 알려주세요! -->
- P95 응답 시간 약 14% 개선
- Hikari Pool Connection & Tomcat Threads에서의 개선

## 📚 참고 자료 및 기타
<!-- 참고한 자료, 또는 논의할 사항이 있다면 알려주세요! -->

Reviewed-on: #71
Co-authored-by: pricelees <priceelees@gmail.com>
Co-committed-by: pricelees <priceelees@gmail.com>
2025-10-17 10:47:15 +00:00

42 lines
826 B
YAML

server:
tomcat:
mbeanregistry:
enabled: true
forward-headers-strategy: framework
spring:
application:
name: roomescape-backend
profiles:
active: ${ACTIVE_PROFILE:local}
jpa:
open-in-view: false
properties:
hibernate:
jdbc:
batch_size: ${JDBC_BATCH_SIZE:100}
order_inserts: true
cache:
type: caffeine
cache-names: ${CACHE_NAMES:theme-details}
management:
endpoints:
web:
exposure:
include: health,loggers,prometheus
base-path: ${ACTUATOR_PATH:/actuator}
endpoint:
health:
show-details: always
payment:
api-base-url: ${PAYMENT_SERVER_ENDPOINT:http://localhost:8000}
springdoc:
swagger-ui:
operationsSorter: method
tagsSorter: alpha
doc-expansion: none
override-with-generic-response: false