Smart Access Gateway (SAG) supports quality of service (QoS) policies that consist of 5-tuples (source IP address, source port, destination IP address, destination port, and protocol). You can create QoS policies to prioritize your workloads and allocate bandwidth resources based on the priority of the workloads.

QoS policies prioritize and allocate bandwidth resources for data transmission and reduce network latency, packet loss rates, and network jitter. This improves network performance.

If you have multiple stores that use different service systems such as enterprise resource planning (ERP), office automation (OA), and order management, these systems may compete for bandwidth resources. As a result, business-critical systems may have insufficient bandwidth resources, which causes packet loss.

SAG allows you to create QoS policies based on the requirements of different workloads to prioritize and allocate bandwidth resources. QoS policies help you improve the utilization of your network resources.

Configuration procedure

The configuration procedure of QoS policies is as follows:
  1. Create a QoS policy that throttles traffic based on the specified rules and classifies traffic based on the specified 5-tuples. For more information, see Create a QoS policy.
  2. Apply the QoS policy to an SAG instance. For more information, see Apply a QoS policy to an SAG instance.

Limits on configurations

The limits on configuring QoS policies are as follows:
  • QoS policies applied to SAG instances can throttle only outbound traffic.
  • 5-tuples cannot overlap with each other.
  • When you create a QoS policy that throttles traffic based on a specific bandwidth range, the system does not check whether the minimum and maximum bandwidth specified in the policy meet the bandwidth requirements of the SAG instances to which the policy applies.

Limits on using QoS policies

The limits on using QoS policies are as follows:
  • You can create a maximum of 10 QoS policies under each Alibaba Cloud account. To request a quota increase, submit a ticket.
  • You can add a maximum of fifty 5-tuple rules to each QoS policy. To request a quota increase, submit a ticket.
  • You can create a maximum of three traffic throttling policies in each QoS policy. You can submit a ticket to increase the quota to seven.
  • You can associate an SAG instance with only one QoS policy, and this limit cannot be increased.