package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
ConfigFromSettings constructs a Config using the cluster setting values.
DefaultConfig returns the configuration that corresponds to the default setting values.
NewLimiterFactory constructs a new LimiterFactory.
# Variables
KVCURateLimit specifies the limit of KV Compute Units / second that a single tenant is allowed to use on an individual KV node.
# Structs
Config contains the configuration of the rate limiter.
LimiterFactory constructs and manages per-tenant Limiters.
Metrics is a metric.Struct for the LimiterFactory.
TestingKnobs configures a LimiterFactory for testing.
# Interfaces
Limiter is used to rate-limit KV requests for a given tenant.