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

πŸ”© 이미지 κΈ°λŠ₯ Refactoring #82

Open
3 tasks done
shoeone96 opened this issue Jan 19, 2024 · 0 comments Β· May be fixed by #85
Open
3 tasks done

πŸ”© 이미지 κΈ°λŠ₯ Refactoring #82

shoeone96 opened this issue Jan 19, 2024 · 0 comments Β· May be fixed by #85
Assignees
Labels
refactoring code refactoring

Comments

@shoeone96
Copy link
Collaborator

shoeone96 commented Jan 19, 2024

Issue: πŸ”© Refactoring

  • μ‚¬μš©ν•˜κ³  μžˆμ§€μ•ŠλŠ” 이미지에 λŒ€ν•œ 관리 ν•„μš”
  • 이미지 file 이름에 λŒ€ν•œ 관리 ν•„μš”

Description

  • μ‚¬μš©ν•˜κ³  μžˆμ§€μ•ŠλŠ” 이미지에 λŒ€ν•œ 관리 ν•„μš”
    • ν˜„μž¬ μˆ˜μ •, μ‚­μ œ, μ €μž₯(μ €μž₯ μ‹œ μ΄λ―Έμ§€λ§Œ μ €μž₯λ˜λŠ” 경우) λ“± λ‹€μ–‘ν•œ μΌ€μ΄μŠ€μ—μ„œ 이미지가 μ‚­μ œλ˜κ±°λ‚˜ μ €μž₯되고 μžˆλ‹€.
    • 이 κ³Όμ •μ—μ„œ μ΄λ―Έμ§€λŠ” RDB에 직접 μ €μž₯λ˜λŠ” 정보가 μ•„λ‹ˆλ‹€ λ³΄λ‹ˆ μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” 이미지가 버켓 μ•ˆμ— 남이 μžˆμ„ 수 μžˆλ‹€.
    • μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” 이미지λ₯Ό μ €μž₯ν•˜κ³  μžˆλŠ” λΉ„μš©λ¬Έμ œλ₯Ό ν•΄κ²°ν•˜κΈ° μœ„ν•΄ 일정 주기둜 ν™•μΈν•΄μ„œ μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” 이미지에 λŒ€ν•œ μ‚­μ œκ°€ ν•„μš”ν•˜λ‹€.
    • μŠ€μΌ€μ₯΄λ§μ„ μ΄μš©ν•΄ μ‚¬μš©ν•˜κ³  μžˆμ§€ μ•ŠλŠ” 이미지λ₯Ό μ‚­μ œν•  ν•„μš”κ°€ μžˆλ‹€.
  • file 이름 관리
    • ν˜„μž¬ λ‘œμ§μ—μ„œλŠ” νŒŒμΌμ— μ‚¬μš©λœ 이름 κ·ΈλŒ€λ‘œ 버킷에 μ €μž₯ν•˜κ³  μžˆλŠ”λ° λ™μΌν•œ μ΄λ¦„μ˜ νŒŒμΌμ„ μ—…λ‘œλ“œ ν•˜λŠ” 경우 λ¬Έμ œκ°€ λ°œμƒν•  수 μžˆλ‹€.
    • 파일 이름을 κ³ μœ κ°’μœΌλ‘œ λ„£μ–΄ μ €μž₯ν•  ν•„μš”κ°€ μžˆλ‹€.
  • 이미지 directory 뢄리
    • 이미지 μ„œλΉ„μŠ€ 비쀑이 컀지닀 λ³΄λ‹ˆ ν•œ directory에 뢄리할 ν•„μš”μ„±μ„ λŠκΌˆλ‹€.

Todo

  • μŠ€μΌ€μ₯΄λ§μ„ μ΄μš©ν•΄ μ‚¬μš©ν•˜κ³  μžˆμ§€ μ•ŠλŠ” 이미지λ₯Ό μ‚­μ œ κΈ°λŠ₯
  • file 이름 unique κ°’μœΌλ‘œ 관리
  • 이미지 directory 뢄리 및 ν…Œμ΄λΈ” 생성

ETC

@shoeone96 shoeone96 added the refactoring code refactoring label Jan 19, 2024
@shoeone96 shoeone96 self-assigned this Jan 19, 2024
@shoeone96 shoeone96 linked a pull request Jan 19, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring code refactoring
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant