xuang7 opened a new issue, #3678:
URL: https://github.com/apache/texera/issues/3678

   ### **Motivation**
   Currently, users lack clear visibility into upload speed and time, 
especially when uploading large files. This makes it difficult to assess 
whether uploads are proceeding efficiently or stalling unexpectedly. Feedback 
on speed and time can improve the transparency and perceived performance of the 
upload system.
   
   ### **Proposed Changes**
   - Display Upload Speed
     - Show live upload speed (e.g., 100.1MB/s) using a smoothed average.
     - Use a moving average of recent samples to avoid jitter.
     - Cap update frequency (e.g., throttle to 1 update/sec).
   
   - Show Time (Elapsed + Remaining)
     - Display elapsed time (since upload started).
     - Estimate time remaining based on average speed and remaining bytes.
     - When progress reaches >95%, cap ETA (e.g., max 10s) to prevent 
unnecessary long estimates near completion.
     - Show final upload duration as tooltip after upload is complete.
   
   **Example Output**
   [ 100.1 MB/s - 12s elapsed, 10s left ]
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to