-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Stop Copying Every Http Request in Message Handler #44564
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
Merged
original-brownbear
merged 34 commits into
elastic:master
from
original-brownbear:never-copy-http-buffer
Dec 3, 2019
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
8c12be3
Stop Copying Every Http Request in Message Handler
original-brownbear cc0aaf6
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear 0e8435c
fix
original-brownbear 52bc3a6
maybe fix
original-brownbear 1647a74
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear f413199
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear aa0adb5
stop retaining reference to actual request in put pipeline rest action
original-brownbear fe12204
add assertion
original-brownbear 558178e
Merge remote-tracking branch 'elastic' into never-copy-http-buffer
original-brownbear 49fc027
add back empty line
original-brownbear 2f1fa3f
Fix NIO as well
original-brownbear 957c8a1
fix nio as well
original-brownbear a36b914
add comment on copying pipeline source
original-brownbear 1002a54
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear c9bc6cb
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear 635f95f
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear b441280
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear 2f4b921
only fast-path search+bulk req.
original-brownbear 80368bb
quick and dirty
original-brownbear 32cfa40
too ambitious
original-brownbear ee27d5b
Merge branch 'never-copy-http-buffer' of github.com:original-brownbea…
original-brownbear 11a4e3e
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear 47ec705
optimize some more
original-brownbear 6144ebe
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear bd1ab0f
faster
original-brownbear 64581f5
stop releasing unpooled buffers
original-brownbear e5ebd7e
nicer assertion
original-brownbear bf95afa
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear 4f00013
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear 9b60803
CR: don't optimize NIO transport for now
original-brownbear b161845
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear 1812be4
CR: make content handling less weird
original-brownbear 2e8840a
Merge remote-tracking branch 'elastic/master' into never-copy-http-bu…
original-brownbear 9ab9b4a
remove unpooled hack
original-brownbear File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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 could optimize this and other spots where we return
trueeven further by releasing the request at the earliest possible point instead of when sending out the response. I'd push that to a follow up though, as it's not entirely trivial to get this right.