Skip to content

Upload speed and success rate for larger video files (YMMV) #6

@denven

Description

@denven

Although the uploader works normally on most occasions when re-transmission is added to tackle large file uploading failures. however, after a whole night's monitoring of the upload logs, I found sometimes it still experiences a high rate of re-transmission of chunks, a few cases of abortion with too many transmission retries

  • too many re-transmission happened
upload chunk: 0, length: 3276800, bytes: 0-3276799 
upload chunk: 0, length: 3276800, bytes: 0-3276799 
upload chunk: 0, length: 3276800, bytes: 0-3276799 
upload chunk: 1, length: 3276800, bytes: 3276800-6553599 
upload chunk: 1, length: 3276800, bytes: 3276800-6553599 
upload chunk: 1, length: 3276800, bytes: 3276800-6553599 
upload chunk: 1, length: 3276800, bytes: 3276800-6553599 
upload chunk: 2, length: 3276800, bytes: 6553600-9830399 
upload chunk: 2, length: 3276800, bytes: 6553600-9830399 
upload chunk: 2, length: 3276800, bytes: 6553600-9830399 
upload chunk: 2, length: 3276800, bytes: 6553600-9830399 
upload chunk: 3, length: 614500, bytes: 9830400-10444899 
  • failed with max retry times ( I set it 5 as max continuous failures)
upload chunk: 0, length: 3276800, bytes: 0-3276799 
upload chunk: 1, length: 3276800, bytes: 3276800-6553599 
upload chunk: 2, length: 3276800, bytes: 6553600-9830399 
upload chunk: 2, length: 3276800, bytes: 6553600-9830399 
upload chunk: 2, length: 3276800, bytes: 6553600-9830399 
upload chunk: 2, length: 3276800, bytes: 6553600-9830399 
upload chunk: 3, length: 523886, bytes: 9830400-10354285 
upload chunk: 3, length: 523886, bytes: 9830400-10354285 
upload chunk: 3, length: 523886, bytes: 9830400-10354285 
upload chunk: 3, length: 523886, bytes: 9830400-10354285 
upload chunk: 3, length: 523886, bytes: 9830400-10354285 
  • slow speed of successful uploads (one file takes more than 1 minute)
Sun Jan 15 10:21:33 PST 2023: /tmp/sd/record/2023Y01M15D07H/34M00S60.mp4
Sun Jan 15 10:28:09 PST 2023: /tmp/sd/record/2023Y01M15D07H/35M00S60.mp4
Sun Jan 15 10:29:53 PST 2023: /tmp/sd/record/2023Y01M15D07H/36M00S60.mp4
Sun Jan 15 10:32:06 PST 2023: /tmp/sd/record/2023Y01M15D07H/37M00S60.mp4
Sun Jan 15 10:36:39 PST 2023: /tmp/sd/record/2023Y01M15D07H/38M00S60.mp4
Sun Jan 15 10:39:30 PST 2023: /tmp/sd/record/2023Y01M15D07H/39M00S60.mp4
Sun Jan 15 11:12:52 PST 2023: /tmp/sd/record/2023Y01M15D07H/40M00S60.mp4
Sun Jan 15 11:13:36 PST 2023: /tmp/sd/record/2023Y01M15D07H/41M00S60.mp4
Sun Jan 15 11:18:15 PST 2023: /tmp/sd/record/2023Y01M15D07H/42M00S60.mp4
Sun Jan 15 11:20:20 PST 2023: /tmp/sd/record/2023Y01M15D07H/43M00S60.mp4

If this situation is intensive and continues for some time, the upload speed will decline dramatically, and if the camera is recording a new video every minute, the video files will never be uploaded in time, and more and more video files will be delayed uploading on camera's sd card.

Metadata

Metadata

Assignees

Labels

api issueIssue related to API access, or issued caused by the API serviceenhancementNew feature or requestperformanceresolved

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions