-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable
respect_dns_ttl
by default for xDS cluster (#1055)
Motivation: Envoy refreshes DNS every 5 seconds regardless of DNS TTL. The frequent refresh consumes additional CPU and memory resources and may put a heavy load on DNS servers. `respect_dns_ttl` is an option to let Envoy use the TTL of DNS respones. envoyproxy/envoy#6876 Respecting DNS TTL seems more sensible behavior for Armeria xDS modules. Modifications: - Set `respect_dns_ttl` to true when creating an xDS cluster. - Due to the limation of protobuf, `respect_dns_ttl` in a request is ignored but the value still can be modified via xDS update API. Result: `respect_dns_ttl` is now enabled by default for xDS cluster.
- Loading branch information
Showing
3 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters