Is there a way to disable payload hashing when uploading an object to s3? #854
Unanswered
tweeter0830
asked this question in
Q&A
Replies: 1 comment 1 reply
-
If you upload with a streaming body, then it'll avoid calculating those hashes. Use the Let me know if that works for you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed really high CPU usage when calling
aws_sdk_s3::client.put_object
. I profiled my code and saw a ton of time being spent inaws_sign_auth::signer::SigV4Signer::Sign
, specificallyaws_sigv4::http_request::canocial_request::CanonicalRequest::payload_hash
. I know that AWS hashes some/all of the request, but I'm hoping there is some way to avoid hashing the body of the request. I am already sending an md5 hash of the body along.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions