-
Notifications
You must be signed in to change notification settings - Fork 183
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
FaultInjector: stream response instead of buffering #7466
Conversation
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.
Overall looks good, but I think it breaks upstream response without content-length headers.
tools/http-fault-injector/Azure.Sdk.Tools.HttpFaultInjector/Program.cs
Outdated
Show resolved
Hide resolved
a706df7
to
11db45e
Compare
11db45e
to
0f20a20
Compare
tools/http-fault-injector/Azure.Sdk.Tools.HttpFaultInjector/Program.cs
Outdated
Show resolved
Hide resolved
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 suggested a potential perf improvement, but if you want to merge this PR as-is, I can submit this improvement in another PR.
@mikeharder thank you for the review! |
Fixes #7463
Tried with storage stress tests under load:
(fault-injector is now at 200MB, used to be > 2GB)