Skip to content
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

Avoid duplicate URL parsing for async connections #958

Merged

Conversation

danielmitterdorfer
Copy link
Member

With this commit we provide a URL object when issuing a request instead
of a string representation to avoid expensive string parsing in aiohttp.
In our tests this has reduced the client side overhead by about one
millisecond which is important when benchmarking queries which finish
within single-digit milliseconds.

Relates #944

With this commit we provide a URL object when issuing a request instead
of a string representation to avoid expensive string parsing in aiohttp.
In our tests this has reduced the client side overhead by about one
millisecond which is important when benchmarking queries which finish
within single-digit milliseconds.

Relates elastic#944
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :Load Driver Changes that affect the core of the load driver such as scheduling, the measurement approach etc. labels Apr 8, 2020
@danielmitterdorfer danielmitterdorfer added this to the 1.5.0 milestone Apr 8, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this Apr 8, 2020
Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thx

@danielmitterdorfer
Copy link
Member Author

Thanks for the review!

@danielmitterdorfer danielmitterdorfer merged commit 40c1dca into elastic:master Apr 14, 2020
@danielmitterdorfer danielmitterdorfer deleted the avoid-url-parsing branch April 14, 2020 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :Load Driver Changes that affect the core of the load driver such as scheduling, the measurement approach etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants