We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have been testing and benchmarking it. Compared with rusoto presigned urls take to 150 times more to complete around 150 presigned urls.
Async vs Sync
but using multithreading aproach with tokio::spawn and join_all the diference is reduced to 10 times slower.
let mut handles = Vec::new(); for i in 1..10 { let mut private_key = fs::read_to_string("files/pk2.pem").unwrap(); handles.push(tokio::spawn(async { let mut options = SignedOptions { key_pair_id: String::from("KEYPARD"), private_key: private_key, ..Default::default() }; get_signed_url("https://domainHere/asdasd-2020-01-30-59245video/mp4", &options) })); } futures::future::join_all(handles).await;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have been testing and benchmarking it. Compared with rusoto presigned urls take to 150 times more to complete around 150 presigned urls.
Async vs Sync
but using multithreading aproach with tokio::spawn and join_all the diference is reduced to 10 times slower.
The text was updated successfully, but these errors were encountered: