-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
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
add: article on difficulties Zelda encountered while implementing streaming checksums #1427
add: article on difficulties Zelda encountered while implementing streaming checksums #1427
Conversation
add: article on difficulties Zelda encountered while implementing streaming checksums update: SUMMARY.md table of contents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great!! I suspect this sort of article may be useful for folks outside of the SDK as well–may be worth thinking about
constructed from files. In these cases we can ask the operating system for the file size before sending the request. So | ||
long as that size doesn't change during sending of the request, all is well. In any other case, the request will fail. | ||
|
||
### Adding trailers to a request changes the size of that request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(!!!!)
```rust | ||
use axum::{ | ||
body::{Body, Bytes}, | ||
http::{request::Parts, Request, StatusCode}, | ||
middleware::{self, Next}, | ||
response::IntoResponse, | ||
routing::put, | ||
Router, | ||
}; | ||
use std::net::SocketAddr; | ||
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you think we should bundle this in the tools directory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll submit a separate PR for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should also link Contributing
from the root contribution guide when this lands and the link is available
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
…e_that_relies_on_HTTP.md
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
A new generated diff is ready to view.
A new doc preview is ready to view. Rust Wrk benchmark report:Duration: 90 sec, Connections: 32, Threads: 2
|
…eaming checksums (#1427) * add: contributing docs overview page add: article on difficulties Zelda encountered while implementing streaming checksums update: SUMMARY.md table of contents add: link to contributor design docs in CONTRIBUTING.md
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.