Skip to content

Conversation

@KimKyuHoi
Copy link
Collaborator

@KimKyuHoi KimKyuHoi commented Mar 7, 2025

Pull request

Related issue

Motivation and context

Solution

  • 1000ms 이상일 경우 파일용량을 10mb으로 나누었습니다.
  • 500ms 이상일 경우 파일용량을 100mb으로 나누었습니다.
  • 그 이하일 경우 파일용량을 200mb으로 나누었습니다.

How has this been tested

1GB 파일 기준 업로드

네트워크 통신상태가 불안정하여 100mb밖에 측정을 하지 못하였습니다.

1. 1GB파일을 일반 업로드 하였을 경우
스크린샷 2025-02-26 오후 4 54 06

2. 1GB파일을 100mb 파일로 나누어 청크 업로드 하였을 때
스크린샷 2025-02-27 오전 10 04 10

대략 98.61초에서 13.36초 줄어든것으로 보아 86.46%정도 개선된 점을 보실 수 있습니다.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the docs/CONTRIBUTING.md document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@KimKyuHoi KimKyuHoi added 🖥️ FE 프론트엔드 무조건 스프린트내에 해야하는 것들 ♻️ Refactor 코드 리팩토링 labels Mar 7, 2025
@KimKyuHoi KimKyuHoi self-assigned this Mar 7, 2025
@netlify
Copy link

netlify bot commented Mar 7, 2025

Deploy Preview for jootalkpia ready!

Name Link
🔨 Latest commit 00a3bbb
🔍 Latest deploy log https://app.netlify.com/sites/jootalkpia/deploys/67cb29c83888860008ad4801
😎 Deploy Preview https://deploy-preview-327--jootalkpia.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@KimKyuHoi KimKyuHoi merged commit fc1339d into dev Mar 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🖥️ FE 프론트엔드 ♻️ Refactor 코드 리팩토링 무조건 스프린트내에 해야하는 것들

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[리팩토링] 파일청크 네트워크에 따른 업로드 동적 파일 용량 조정

2 participants