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

Add support for hickory-dns for http client dns resolution #3962

Open
jlizen opened this issue Jan 3, 2025 · 0 comments
Open

Add support for hickory-dns for http client dns resolution #3962

jlizen opened this issue Jan 3, 2025 · 0 comments

Comments

@jlizen
Copy link

jlizen commented Jan 3, 2025

Today, smithy's generated clients use native Hyper dns handling, which in turn delegates to the OS dns resolver.

This is not ideal for a couple reasons:

  • cached dns resolution still requires a fairly expensive OS call
  • delegating to OS in general doesn't play as nicely with async due to needing the blocking threadpool

Hickory dns would be nicer because it is all in-process, including with baked-in caching. This allows for true async dns resolution and generally much lower footprint.

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

No branches or pull requests

1 participant