Calculate hashes during upload #37
Labels
No labels
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We read in the files in chunks already anyways, so why not use that period to calculate the hashes as well.
I've done some testing & this might not actually be the best course of action. It seems that by calculating the hash as the data's coming in, the server consumes a lot more CPU.
I'm reducing this to an idea for now, as I do not know whether this is actually more efficient/worth the trouble.