open-consul/agent/config
Dan Upton 3b9297f95a
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
builder_oss_test.go
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
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
flagset.go
golden_test.go
limits.go
limits_windows.go
merge.go
merge_test.go
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
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
segment_oss_test.go