docs/content/stable/develop/quality-of-service/_index.md
Quality of service (QoS) is used to ensure that your critical services (or SQL statements) achieve performance objectives, or to just keep the cluster running under heavy load. There are two scenarios where QoS becomes important:
These are discussed below in detail.
YugabyteDB implements admission control to ensure that a heavily loaded cluster is able to stay up and running. Admission control kicks in after a connection is authenticated and authorized, and works at various stages of query processing / execution. The following controls are available to ensure quality of service.
| Type | Scope | Description |
|---|---|---|
| Write-heavy workloads | CLUSTER WIDE | In scenarios where the write throughput can be very high, ensure that the cluster does not get overloaded, resulting in an outage. |
| Transaction priorities | CLUSTER WIDE | Enables fine-grained control over which transactions should be given higher priority. |
| Connection management | CLUSTER WIDE | |
PER USER | ||
PER DATABASE | Limit the number of connections that can be established in a cluster. |