Uh oh!
There was an error while loading. Please reload this page.
http: always cork outgoing writes - #13522
Merged
Merged
Conversation
mscdexforce-pushed
the
http-outgoing-always-cork-writes
branch
from
June 7, 2017 16:11
110efcf to
1e0f85bCompareFishrock123
commented
Jun 7, 2017
Contributor
This might increase overall throughput, but does it possibly increase latency? |
mscdex
commented
Jun 7, 2017
ContributorAuthor
@Fishrock123 No more than it already was for a chunked encoding write. |
ContributorAuthor
Just checked this PR against V8 5.9 that is now in master and I get these results without the changes from the previously linked |
mscdex
commented
Jun 9, 2017
ContributorAuthor
/cc @nodejs/collaborators |
mcollina
commented
Jun 9, 2017
Member
Prior art: #7946. |
mcollina
approved these changes
Jun 9, 2017
mcollina
left a comment
Member
There was a problem hiding this comment.
LGTM as semver-minor.
I think it might require extensive perf testing before backporting to v6.
cjihrig
approved these changes
Jun 9, 2017
tniessen
approved these changes
Jun 9, 2017
jasnell
approved these changes
Jun 9, 2017
mscdexforce-pushed
the
http-outgoing-always-cork-writes
branch
from
June 12, 2017 17:55
1e0f85b to
be4b583Comparemscdex
commented
Jun 12, 2017
ContributorAuthor
CI before landing: https://ci.nodejs.org/job/node-test-pull-request/8613/ |
PR-URL: nodejs#13522 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
mscdexforce-pushed
the
http-outgoing-always-cork-writes
branch
from
June 13, 2017 00:42
be4b583 to
c4fc7d9Compareaddaleax pushed a commit
that referenced
this pull request
Jun 17, 2017
PR-URL: #13522 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Merged
addaleax pushed a commit
that referenced
this pull request
Jun 21, 2017
PR-URL: #13522 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
addaleax pushed a commit
that referenced
this pull request
Jun 24, 2017
PR-URL: #13522 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
rvagg pushed a commit
that referenced
this pull request
Jun 29, 2017
PR-URL: #13522 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
addaleax pushed a commit
that referenced
this pull request
Jul 11, 2017
PR-URL: #13522 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
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 freeto 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.
This PR always corks outgoing writes, no matter whether it's using chunked encoding or has a
Content-Lengthset. Previously it was only enabled for chunked encoding writes.Some benchmark results:
The single chunk write results here that are < 0% will be even less of a problem once the nextTick performance improvements in #13446 land:
CI: https://ci.nodejs.org/job/node-test-pull-request/8532/
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)