Skip to content

android: default to use the system DNS resolver#2511

Merged
jpsim merged 5 commits intomainfrom
android-default-to-use-the-system-dns-resolver
Sep 1, 2022
Merged

android: default to use the system DNS resolver#2511
jpsim merged 5 commits intomainfrom
android-default-to-use-the-system-dns-resolver

Conversation

@jpsim
Copy link
Copy Markdown
Contributor

@jpsim jpsim commented Sep 1, 2022

Description: Rather than c-ares. In our tests, the system DNS resolver consumes less CPU and memory while otherwise performing similarly overall.
Risk Level: Medium, although it's performed well in our tests, it's possible that some situations we haven't tested perform worse than c-ares. Users can still disable this in the engine builder though.
Testing: Lyft apps & unit tests
Docs Changes: Docstrings updated to reflect new default
Release Notes: Added

Signed-off-by: JP Simard jp@jpsim.com

Rather than c-ares. In our tests, the system DNS resolver consumes less
CPU and memory while otherwise performing similarly overall.

Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: JP Simard <jp@jpsim.com>
…e-the-system-dns-resolver

* origin/main:
  android: enable forceIPv6 by default (#2510)

Signed-off-by: JP Simard <jp@jpsim.com>
@Augustyniak
Copy link
Copy Markdown
Contributor

/retest

Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim jpsim marked this pull request as ready for review September 1, 2022 19:26
Signed-off-by: JP Simard <jp@jpsim.com>
@jpsim
Copy link
Copy Markdown
Contributor Author

jpsim commented Sep 1, 2022

/retest

- iOS: A documentation archive is now included in the GitHub release artifact (:issue: `#2335 <2335>`)
- api: improved C++ APIs compatibility with Java / Kotlin / Swift (:issue `#2362 <2362>`)
- api: add option to use the a ``getaddrinfo``-based system DNS resolver instead of c-ares (:issue: `#2419 <2419>`)
- Android: default to use a ``getaddrinfo``-based system DNS resolver instead of c-ares (:issue: `#2419 <2419>`)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

for whatever reason Android is not capitalized in other occurences in this file. Up to you whether you want to stay consistent or not.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Seems like we should honour brand name capitalization. As someone whose name is frequently mis-capitalized this might be a touchy issue for me 😅.

@jpsim jpsim merged commit 6700e4b into main Sep 1, 2022
@jpsim jpsim deleted the android-default-to-use-the-system-dns-resolver branch September 1, 2022 21:16
colibie pushed a commit to colibie/envoy-mobile that referenced this pull request Sep 21, 2022
Description: Rather than c-ares. In our tests, the system DNS resolver consumes less CPU and memory while otherwise performing similarly overall.
Risk Level: Medium, although it's performed well in our tests, it's possible that some situations we haven't tested perform worse than c-ares. Users can still disable this in the engine builder though.
Testing: Lyft apps & unit tests
Docs Changes: Docstrings updated to reflect new default
Release Notes: Added

Signed-off-by: JP Simard <jp@jpsim.com>
Signed-off-by: Chidera Olibie <colibie@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants