cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.9k stars 3.78k forks source link

rangefeed: user-defined quality-of-service prioritization #110568

Open erikgrinaker opened 1 year ago

erikgrinaker commented 1 year ago

Different changefeeds on the same node may have different requirements: some may need low latency, while others are not latency-sensitive at all. It would be nice if users could specify the relative priority between rangefeeds in case of resource contention. This would involve:

It would probably also need higher-level prioritization of the writing workload, e.g. in AC and other systems.

Jira issue: CRDB-31509

Epic CRDB-39959

blathers-crl[bot] commented 1 year ago

cc @cockroachdb/replication

erikgrinaker commented 1 year ago

cc @miretskiy in case you have something to add.