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

[Develop] redis cache 적용 #13

Merged
merged 3 commits into from
Jul 1, 2024
Merged

[Develop] redis cache 적용 #13

merged 3 commits into from
Jul 1, 2024

Conversation

HwangHarim
Copy link
Contributor

  • 콜백 패턴을 활용한 Cache 생성

  • shortUrl 요청 플로우 수정

  1. 캐시에 데이터 조회
  2. 존재하면 바로 반환
  3. 없으면 디비 조회
  4. 조회한 데이터 바로 반환하고, 다른 스레드에서 해당 데이터를 캐싱하도록 진행

@HwangHarim HwangHarim merged commit 4b5993b into main Jul 1, 2024
1 check 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