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

feat: Gen AI 인삿말 기능 추가 및 캐싱 #451

Merged
merged 9 commits into from
Oct 25, 2024

Conversation

its-sky
Copy link
Member

@its-sky its-sky commented Oct 24, 2024

🌱 관련 이슈

📌 작업 내용 및 특이사항

  • Clova Studio Generative AI를 사용하여 메인 화면의 인삿말을 일에 한번씩 생성하여 보여주도록 구현하였습니다.
  • 해당 응답값을 일에 한번씩 처리하기 위해 Redis Cache에 캐싱하여 하루동안 캐싱한 후 응답값을 내리도록 하였습니다.
  • Redis Cache 뿐만 아니라 클라이언트가 지속적으로 서버에 요청을 보내는 것을 최적화하기 위해 HTTP Cache 기능도 추가하였습니다.

📝 참고사항

[HTTP 캐시 - 5ms 이하로 굉장히 빠름]
image
image

[API 예시]
image

Copy link

github-actions bot commented Oct 24, 2024

Test Results

64 tests   64 ✅  2s ⏱️
17 suites   0 💤
17 files     0 ❌

Results for commit 2b2759c.

♻️ This comment has been updated with latest results.

@its-sky its-sky changed the title feat: 생성형 AI 인삿말 기능 추가 및 캐싱 feat: Gen AI 인삿말 기능 추가 및 캐싱 Oct 24, 2024
Copy link
Collaborator

@penrose15 penrose15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다. 깔끔하시네요!

@its-sky its-sky merged commit 5a139da into develop Oct 25, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ Redis Cache 구현
2 participants