Calculate hashes during upload #37

Open
opened 2022-01-19 17:56:24 +01:00 by Jef Roosens · 2 comments

We read in the files in chunks already anyways, so why not use that period to calculate the hashes as well.

We read in the files in chunks already anyways, so why not use that period to calculate the hashes as well.
Jef Roosens added this to the 0.2.0 milestone 2022-01-19 17:56:24 +01:00
Jef Roosens added the
enhancement
label 2022-01-19 17:56:24 +01:00
Jef Roosens modified the milestone from 0.2.0 to 0.3.0 2022-02-17 09:31:46 +01:00
Jef Roosens modified the milestone from 0.3.0 to 0.4.0 2022-04-20 09:53:35 +02:00

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'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.
Jef Roosens removed this from the 0.4.0 milestone 2022-06-16 22:54:46 +02:00
Jef Roosens added
idea
and removed
enhancement
labels 2022-06-16 22:54:56 +02:00

I'm reducing this to an idea for now, as I do not know whether this is actually more efficient/worth the trouble.

I'm reducing this to an idea for now, as I do not know whether this is actually more efficient/worth the trouble.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#37
There is no content yet.