Skip to content

Navigation Menu

Sign in
Sign up

WIP chunk hashing on upload - #80

Draft
jhodges10 wants to merge 1 commit into
master from
jh/hash-upload-chunks
Draft

WIP chunk hashing on upload #80
jhodges10 wants to merge 1 commit into
master from
jh/hash-upload-chunks

Conversation

@jhodges10

@jhodges10 jhodges10 commented Jun 8, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

Description:
Introduces MD5 hashing of individual chunks during upload as part of the request headers, relying on AWS to confirm whether or not the bytes received match what know we're sending

If this works, it would mean that an upload that has a single corrupt bit in chunk 9,999/10,000 wouldn't require the entire file to be re-uploaded, just that specific chunk.

Current issues:

  • Apparently the chunk MD5 hash and the other headers are included as part of the signature for the pre-signed URL, ultimately I'm not sure if there's a way to get around this other than pre-calculate the MD5 hash for every chunk and including that as part of the asset create

AWS Documentation:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /