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

[1단계 - DB 복제와 캐시] 명오(김형호) 미션 제출합니다. #4

Open
wants to merge 13 commits into
base: hyunghokim00
Choose a base branch
from

Conversation

HyungHoKim00
Copy link
Member

안녕하세요 제리~ 관계가 역전되어 다시 만나네요.
복제 지연으로 인한 이슈는 캐시를 사용하여 해결했습니다.
변경 가능성이 적은 데이터이고(현재는 변경이 불가능하죠), 조회 로직이 많이 발생할 것 같아 캐싱이 효율적이라고 느꼈습니다.
캐시는 데이터 생성 시 생성, 데이터 조회 시 없으면 생성하도록 했습니다.
스키마는 docker/init/init.sql에 있으며, docker-compose로 실행하면 자동으로 생성될 겁니다.
잘 부탁드립니다~

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