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

✅ 이미지 관련 서비스 구현 #16

Closed
3 tasks
Sehee-Lee-01 opened this issue Dec 20, 2023 · 2 comments · Fixed by #28
Closed
3 tasks

✅ 이미지 관련 서비스 구현 #16

Sehee-Lee-01 opened this issue Dec 20, 2023 · 2 comments · Fixed by #28
Assignees
Labels
enhancement New feature or request

Comments

@Sehee-Lee-01
Copy link
Member

Sehee-Lee-01 commented Dec 20, 2023

Issue: ✅ 이미지 관련 서비스 구현 #16

Description

  • 이미지 저장 매체를 선정 후 spring project 내에서 이미지를 저장하고 불러올 수 있는 로직을 작성

Todo

  • 이미지 매체 선정(S3 vs Minio)
  • 선정된 매체에 이미지를 저장하는 로직 작성
  • 선정된 매체에 이미지 url 을 반환하는 로직 작성
    (아바타 이미지, 게시글 이미지의 url 저장을 위해)

ETC

  • 2023.12.20 오후 다같이 확인할 내용

Minio vs S3 선택

  • Minio: 오픈 소스로 전혀 비용이 들지 않는다, 다만 인프라를 직접 관리하기는 해야 할 것으로 보임, 추후 S3로 확장 가능
  • S3: 저장 이후 관리는 편하게 가능, 요금이 발생할 수 있으나 소액으로 감당 가능할 것으로 추정

추후 해야할 일(참고)

  • 이 기능 완성 후 커뮤니티 기능에서 정상적으로 이미지 업로드와 반환을 위해 디폴트 값들을 수정할 필요가 있음
  • 수정 후 테스트 과정도 필요
@Sehee-Lee-01 Sehee-Lee-01 changed the title 이미지 관련 서비스 이미지 관련 서비스 구현 Dec 20, 2023
@ASak1104 ASak1104 added the enhancement New feature or request label Dec 20, 2023
@ASak1104 ASak1104 added this to the Must Have 서비스 구현 milestone Dec 20, 2023
@Sehee-Lee-01 Sehee-Lee-01 changed the title 이미지 관련 서비스 구현 ✅ 이미지 관련 서비스 구현 Dec 20, 2023
@Sehee-Lee-01
Copy link
Member Author

일단 minlO나 다른 요금이 안나가는 서비스로 고려만 해보기

@shoeone96
Copy link
Collaborator

✅ minio로 결정

  • S3와 비슷한 성질을 가지고 있지만 무료라는 성격을 자기고 있어서 선택

구현 방법

  • minio 의존성 추가 후 docker container로 띄우기
  • 이미지 서비스 인터페이스식으로 작성 후 구현하는 방식으로 만들기
  • 추후 S3를 이용 시 S3 를 이용해서 구현체를 만드는 방식으로 진행 예정

@ASak1104 ASak1104 linked a pull request Dec 27, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants