Skip to content

File upload efficiency and user experience improvements #3610

@xuang7

Description

@xuang7

Motivation:

Users currently encounter slow uploads and confusing progress feedback, particularly when uploading large files. The upload process lacks transparency during the initialization phase and provides inconsistent progress updates, leading to a frustrating user experience.

Current Behavior:

Unclear Progress Feedback:

  1. Long initialization delays with no progress indication. (init alone can take 30–40s within a ~1min upload).
  2. Progress can jumps from 0% → 30% instantly, skipping intermediate values and creating a jarring experience
Image

Suboptimal Performance:

  1. Current upload method may not be optimal for all file sizes (fixed chunk size and concurrency settings)

Proposed Changes

Progress Feedback:

  1. Real-Time Upload Progress: Replace fetch with XMLHttpRequest to capture real-time progress and show smooth overall progress.

Performance Optimization:

  1. Dynamic Chunk Sizing & Adaptive Concurrency

Related Architecture

Upload Flow (3GB file example):
Image

Chunk-level Progress Visualization:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions