Skip to content

Commit

Permalink
Save slicing HTTP 2 headers & data
Browse files Browse the repository at this point in the history
Motivation:

DefaultHttp2FrameWriter's always create aggregate promises and slices out of
headers and data: both could be saved while reducing the amount of pipeline traversals
in case the additional cost of creating a sliced buffer surpass the data to be written.

Modifications:

Small header and data could be copied directly in a single buffer, without any need to
create aggregate promises.

Result:

Faster small data's writes
  • Loading branch information
franz1981 committed Feb 5, 2024
1 parent b194741 commit 1db28a0
Showing 1 changed file with 291 additions and 113 deletions.

0 comments on commit 1db28a0

Please sign in to comment.