Skip to content

dns cache: add ability to prefetch hostnames to resolve during cache construction - #16891

Merged
alyssawilk merged 16 commits into
envoyproxy:mainfrom
junr03:dns_warmup
Jun 21, 2021
Merged

alyssawilk merged 16 commits into
envoyproxy:mainfrom
junr03:dns_warmup

Conversation

@junr03

@junr03 junr03 commented Jun 9, 2021 •

Copy link
Copy Markdown
Member

Commit Message: this PR adds the ability to prefetch hostnames to resolve during cache construction.
Additional Description: This feature can be used as a performance improvement for setups that use dns cache, but know a priori some of the hostnames that will be used.
Risk Level: low -- adds a feature that is off by default.
Testing: new tests
Docs Changes: added documentation in the API
Release Notes: pending.

Jose Nino added 6 commits June 7, 2021 16:55
Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Jose Nino <[email protected]>
Jose Nino
fmt
Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Jose Nino <[email protected]>
@repokitteh-read-only

Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
envoyproxy/api-shepherds assignee is @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #16891 was opened by junr03.

see: more, trace.

@junr03 junr03 changed the title dns cache: add ability to pre-load hostname to resolve during cache construction dns cache: add ability to pre-load hostnames to resolve during cache construction Jun 9, 2021
@junr03

junr03 commented Jun 10, 2021

Copy link
Copy Markdown
Member Author

@zuercher I am the author. Will need another assignee.

@junr03 junr03 removed their assignment Jun 10, 2021
@markdroth

Copy link
Copy Markdown
Contributor

/lgtm api

@alyssawilk alyssawilk left a comment

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.

@junr03 looks like you need a format fix.
Also as a reminder I'm out from tomorrow through next week so if you need a pass after today you'll want to find an alternate reviewer (I trust you can do so so I won't tag someone for you =P)

Signed-off-by: Jose Nino <[email protected]>

@alyssawilk alyssawilk left a comment

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.

Looking good! don't forget release notes! :-)

Signed-off-by: Jose Nino <[email protected]>
@junr03 junr03 changed the title dns cache: add ability to pre-load hostnames to resolve during cache construction dns cache: add ability to prefetch hostnames to resolve during cache construction Jun 14, 2021
Signed-off-by: Jose Nino <[email protected]>
Comment thread docs/root/version_history/current.rst Resolved
Jose Nino
fix
Signed-off-by: Jose Nino <[email protected]>
Jose Nino added 4 commits June 14, 2021 15:04
Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Jose Nino <[email protected]>
Jose Nino
fmt
Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Jose Nino <[email protected]>
alyssawilk
alyssawilk previously approved these changes Jun 14, 2021
@junr03

junr03 commented Jun 16, 2021

Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #16891 (comment) was created by @junr03.

see: more, trace.

Signed-off-by: Jose Nino <[email protected]>
Signed-off-by: Jose Nino <[email protected]>
@junr03

junr03 commented Jun 17, 2021

Copy link
Copy Markdown
Member Author

@mattklein123 can I get a stamp? @alyssawilk had approved but I had a clang-tidy error and a type fix for windows after that.

@markdroth

Copy link
Copy Markdown
Contributor

/lgtm api

@alyssawilk
alyssawilk merged commit 7b492bd into envoyproxy:main Jun 21, 2021
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
…construction (envoyproxy#16891)

Commit Message: this PR adds the ability to prefetch hostnames to resolve during cache construction.
Additional Description: This feature can be used as a performance improvement for setups that use dns cache, but know a priori some of the hostnames that will be used.
Risk Level: low -- adds a feature that is off by default.
Testing: new tests
Docs Changes: added documentation in the API
Release Notes: inline

Signed-off-by: Jose Nino <[email protected]>
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.

6 participants