perf: zero-copy inbound TCP transport + test infrastructure consolidation#76
Merged
Conversation
…rt; migrate to WireBuffer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ReadOnlyMemory<byte>toWireBufferMaxRequestBufferSize, client-sideReceiveBufferSize) that are now transport-managedServerOptionDefaults,TestClientOptions,DecoderEncoderDefaults,WireBufferTestExtensions), then migrate all H1.0/H1.1/H2/H3 server and client specs to useServerTestContextandStreamTestBaseChanges
Transport (servus.akka submodule)
WireBuffer, eliminating defensive copies on the receive pathProtocol layer
FrameDecoder, all state machines (H1.0/H1.1/H2/H3 client + server), body readers/pumps updated to consumeWireBufferinstead ofReadOnlyMemory<byte>BufferedBodyReaderandQueuedBodyReaderadapted for new buffer lifecycleOptions cleanup
GaudiClientOptions.ReceiveBufferSizeandGaudiServerLimits.MaxRequestBufferSize— buffer sizing now lives in the transport layerTransportBufferOptionsandEndpointResolverTest infrastructure (246 files, net -675 lines)
ServerOptionDefaults,TestClientOptions,DecoderEncoderDefaults,WireBufferTestExtensionsTest plan
dotnet run --project GaudiHTTP.Tests)