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]: SQS를 활용한 자체적인 유저 정보 저장 #15

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

jihwan2da
Copy link
Member

@jihwan2da jihwan2da commented Feb 4, 2024

Issue

resolved #14

작업한 이유

기존에는 유저 정보가 필요할 시 다른 서버와 HTTP 통신으로 가져왔는데, 위 방법은 시스템 간 강한 결합에 따른 문제가 발생할 수 있음. 위의 문제 해결 및 조회 성능 향상을 위해 작업하였습니다.

작업한 일

  • 자체적인 User 모델 설계(도메인, DB)
  • AWS SQS 설정
  • user 이벤트 SQS Subscriber 구현

DDL

create table users(
    id bigint primary key ,
    is_certified_student bit(1) not null ,
    profile_image longtext not null ,
    nickname varchar(255) not null ,
    country_name varchar(255) ,
    country_image varchar(255) ,
    reliability_level varchar(30) not null
);

ENV

  • AWS_ACCESS_KEY
  • AWS_SECRET_KEY
  • USER_SQS_QUEUE_NAME

@jihwan2da jihwan2da added enhancement New feature or request feature labels Feb 4, 2024
@jihwan2da jihwan2da self-assigned this Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQS 생성 후 유저 토픽을 구독해 자체적으로 유저 정보를 저장한다.
1 participant