Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#12] 콘텐츠 조회기능 레디스 캐싱 적용 #13

Merged
merged 14 commits into from
Oct 13, 2024
Merged

Conversation

wktls63
Copy link
Collaborator

@wktls63 wktls63 commented Oct 13, 2024

작업 내용

1. 레디스 패키지 추가

  • 레디스를 서비스에 추가하여 콘텐츠 조회 시 캐싱 기능을 적용
  • 레디스를 사용해 데이터베이스 조회 요청을 감소시킴

2. 콘텐츠 서비스 레디스 캐싱 기능 추가

  • 콘텐츠 조회 시 레디스를 이용하여 캐싱 가능
  • CACHE_TTL 설정값: 3600초 (1시간)

3. 앱 실행 후 테스트

  • 앱 실행 후 레디스 캐싱 기능이 정상적으로 작동하는 것을 확인

4. 테스트 코드 이슈

  • 테스트 코드에서 데이터베이스 조회와 관련된 이슈가 발생 중
  • 테스트 내에서 데이터베이스 조회가 정상적으로 이루어지지 않음 (해결 예정)

체크리스트

  • 레디스 캐싱 기능이 정상적으로 작동하는지 확인
  • 콘텐츠 조회 시 캐시가 사용되는지 확인
  • CACHE_TTL 설정값이 3600으로 설정되어 있는지 확인
  • 앱 실행 후 정상 작동 여부 확인
  • 테스트 코드 내 데이터베이스 조회 이슈 해결

캐싱

스크린샷 2024-10-14 오전 12 13 06

@wktls63 wktls63 self-assigned this Oct 13, 2024
Copy link

sonarcloud bot commented Oct 13, 2024

@wktls63 wktls63 merged commit c663032 into main Oct 13, 2024
2 checks passed
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