consul/agent/config
Dan Upton 328e3ff563
proxycfg: rate-limit delivery of config snapshots (#14960)
Adds a user-configurable rate limiter to proxycfg snapshot delivery,
with a default limit of 250 updates per second.

This addresses a problem observed in our load testing of Consul
Dataplane where updating a "global" resource such as a wildcard
intention or the proxy-defaults config entry could starve the Raft or
Memberlist goroutines of CPU time, causing general cluster instability.
2022-10-14 15:52:00 +01:00
..
testdata proxycfg: rate-limit delivery of config snapshots (#14960) 2022-10-14 15:52:00 +01:00
agent_limits.go
builder.go proxycfg: rate-limit delivery of config snapshots (#14960) 2022-10-14 15:52:00 +01:00
builder_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
builder_oss_test.go Rename `master` and `agent_master` ACL tokens in the config file format (#11665) 2021-12-01 21:08:14 +00:00
builder_test.go fix: missing UDP field in checkType (#14885) 2022-10-05 15:57:21 -04:00
config.go proxycfg: rate-limit delivery of config snapshots (#14960) 2022-10-14 15:52:00 +01:00
config_oss.go Fixup acl.EnterpriseMeta 2022-04-05 15:11:49 -07:00
default.go proxycfg: rate-limit delivery of config snapshots (#14960) 2022-10-14 15:52:00 +01:00
default_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
deprecated.go config: prevent top-level `verify_incoming` enabling mTLS on gRPC port (#13118) 2022-05-18 16:15:57 +01:00
deprecated_test.go config: prevent top-level `verify_incoming` enabling mTLS on gRPC port (#13118) 2022-05-18 16:15:57 +01:00
doc.go
file_watcher.go add a rate limiter to config auto-reload (#12490) 2022-04-04 11:31:39 -04:00
file_watcher_test.go add a rate limiter to config auto-reload (#12490) 2022-04-04 11:31:39 -04:00
flags.go Add separate grpc_tls port. 2022-08-29 13:43:43 -05:00
flags_test.go Revert "Merge pull request #10588 from hashicorp/dnephin/config-fix-ports-grpc" 2021-09-29 12:28:41 -04:00
flagset.go
golden_test.go
limits.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
limits_windows.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
merge.go
merge_test.go config: Introduce DeprecatedConfig 2021-09-22 13:22:16 -04:00
ratelimited_file_watcher.go add a rate limiter to config auto-reload (#12490) 2022-04-04 11:31:39 -04:00
ratelimited_file_watcher_test.go add a rate limiter to config auto-reload (#12490) 2022-04-04 11:31:39 -04:00
runtime.go proxycfg: rate-limit delivery of config snapshots (#14960) 2022-10-14 15:52:00 +01:00
runtime_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
runtime_oss_test.go Add awareness of server mode to TLS configurator 2022-09-16 17:57:10 -06:00
runtime_test.go proxycfg: rate-limit delivery of config snapshots (#14960) 2022-10-14 15:52:00 +01:00
segment_oss.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
segment_oss_test.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00