dynamic_forward_proxy: DNS Cache circuit breaker#11028
dynamic_forward_proxy: DNS Cache circuit breaker#11028lizan merged 64 commits intoenvoyproxy:masterfrom
Conversation
Signed-off-by: shikugawa <[email protected]>
Signed-off-by: shikugawa <[email protected]>
mattklein123
left a comment
There was a problem hiding this comment.
Flushing out a few API comments. Note that this will require documentation and release notes. We also need to figure out how to gracefully handle the existing use case. I think potentially if the new config is not set we should use the cluster circuit breaker for some period of time in the existing HTTP code. Need to discuss. Thank you!
/wait
Signed-off-by: shikugawa <[email protected]>
Signed-off-by: shikugawa <[email protected]>
Signed-off-by: shikugawa <[email protected]>
api/envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto
Outdated
Show resolved
Hide resolved
Signed-off-by: shikugawa <[email protected]>
Signed-off-by: shikugawa <[email protected]>
Signed-off-by: shikugawa <[email protected]>
mattklein123
left a comment
There was a problem hiding this comment.
A few API/doc comments to get started. Please also fix tidy. Thank you!
/wait
api/envoy/config/common/dynamic_forward_proxy/v2alpha/dns_cache.proto
Outdated
Show resolved
Hide resolved
Signed-off-by: shikugawa <[email protected]>
mattklein123
left a comment
There was a problem hiding this comment.
On the right track. Flushing out a few comments. Thank you!
/wait
source/extensions/common/dynamic_forward_proxy/dns_cache_impl.cc
Outdated
Show resolved
Hide resolved
source/extensions/common/dynamic_forward_proxy/dns_cache_resource_manager.h
Outdated
Show resolved
Hide resolved
source/extensions/common/dynamic_forward_proxy/dns_cache_resource_manager.h
Outdated
Show resolved
Hide resolved
Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
source/extensions/common/dynamic_forward_proxy/dns_cache_impl.cc
Outdated
Show resolved
Hide resolved
source/extensions/filters/http/dynamic_forward_proxy/proxy_filter.cc
Outdated
Show resolved
Hide resolved
Signed-off-by: Shikugawa <[email protected]>
mattklein123
left a comment
There was a problem hiding this comment.
LGTM modulo final nits, thanks!
/wait
Signed-off-by: Shikugawa <[email protected]>
|
@Shikugawa can you merge master? it conflicts with security patches. |
Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
|
@lizan @mattklein123 Windows CI is failing. This seems that there is potential problems in Windows building. |
…-circuit-breaker Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: shikugawa [email protected]
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message: In the current implementation of the DNS cache, circuit breaker is derived from cluster config. It seems unnatural. In this PR, I implemented the DNS cache specific circuit breaker by adding resource manager to that.
Additional Description:
Risk Level: Mid
Testing: Unit / Integration
Docs Changes: Required
Release Notes: Required
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]