Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpClient] Fix perf issue when doing thousands of requests with curl #34198

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
merged 1 commit into from
Oct 31, 2019

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Oct 31, 2019

Q A
Branch? 4.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Performing while scheduling requests was a terrible idea: it makes buffers fill in memory and requires CPU do deal with the pending list, while all this in dealt with much more efficiently by any response-reading code that comes after.

@nicolas-grekas nicolas-grekas added this to the 4.3 milestone Oct 31, 2019
nicolas-grekas added a commit that referenced this pull request Oct 31, 2019
…ts with curl (nicolas-grekas)

This PR was merged into the 4.3 branch.

Discussion
----------

[HttpClient] Fix perf issue when doing thousands of requests with curl

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Performing while scheduling requests was a terrible idea: it makes buffers fill in memory and requires CPU do deal with the pending list, while all this in dealt with much more efficiently by any response-reading code that comes after.

Commits
-------

e388b73 [HttpClient] Fix perf issue when doing thousands of requests with curl
@nicolas-grekas nicolas-grekas merged commit e388b73 into symfony:4.3 Oct 31, 2019
@fabpot fabpot mentioned this pull request Nov 1, 2019
@nicolas-grekas nicolas-grekas deleted the hc-perform branch November 6, 2019 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants