Add jitter to strict and logical dns clusters (#35745)
Resolves #35641. Adding DNS jitter to resolvers makes it so that envoy doesnt stampede the DNS server when it has multiple entries with the same expiration. Testing is still WIP. I am open to any suggestions. Commit Message: dns: add jitter to strict dns Additional Description: Risk Level: low Testing: unit tests Docs Changes: Release Notes: for the :ref:`strict DNS <arch_overview_service_discovery_types_strict_dns>` and :ref:`logical DNS <arch_overview_service_discovery_types_logical_dns>` cluster types, the new :ref:`dns_jitter <envoy_v3_api_field_config.cluster.v3.Cluster.dns_jitter>` field, if provided, will causes the cluster to refresh DNS entries later by a random amount of time as to avoid stampedes of DNS requests. This field sets the upper bound (exclusive) for the random amount. Platform Specific Features: [Optional Runtime guard:] [Optional Fixes #Issue] [Optional Fixes commit #PR or SHA] [Optional Deprecated:] [Optional [API Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):] --------- Signed-off-by: Steven Jin Xuan <sjinxuan@microsoft.com> Signed-off-by: Steven Jin <stevenjin8@gmail.com> Co-authored-by: Adi (Suissa) Peleg <adip@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 20e27887d29d735e1cc47cbb9af1cfe9baac4b4dmain
parent
5df7ec7380
commit
91b7cdf7e4
1 changed files with 12 additions and 1 deletions
Loading…
Reference in new issue