|
1 | 1 | ---
|
2 |
| -title: Auto scale Azure Web PubSub Service |
3 |
| -description: Learn how to autoscale Azure WebPubSub Service. |
| 2 | +title: Auto scale Azure Web PubSub service |
| 3 | +description: Learn how to autoscale Azure WebPubSub service. |
4 | 4 | author: zackliu
|
5 | 5 | ms.service: azure-web-pubsub
|
6 | 6 | ms.topic: conceptual
|
7 | 7 | ms.date: 07/12/2022
|
8 | 8 | ms.author: chenyl
|
9 | 9 | ---
|
10 | 10 |
|
11 |
| -# Automatically scale units of an Azure WebPubSub Service |
| 11 | +# Automatically scale units of an Azure WebPubSub service |
12 | 12 |
|
13 | 13 | > [!IMPORTANT]
|
14 |
| -> Autoscaling is only available in Azure WebPubSub Service Premium tier. |
| 14 | +> Autoscaling is only available in Azure WebPubSub service Premium tier. |
15 | 15 |
|
16 |
| -Azure WebPubSub Service Premium tier supports an *autoscale* feature, which is an implementation of [Azure Monitor autoscale](../azure-monitor/autoscale/autoscale-overview.md). Autoscale allows you to automatically scale the unit count for your WebPubSub Service to match the actual load on the service. Autoscale can help you optimize performance and cost for your application. |
| 16 | +Azure WebPubSub service Premium tier supports an *autoscale* feature, which is an implementation of [Azure Monitor autoscale](../azure-monitor/autoscale/autoscale-overview.md). Autoscale allows you to automatically scale the unit count for your WebPubSub service to match the actual load on the service. Autoscale can help you optimize performance and cost for your application. |
17 | 17 |
|
18 |
| -Azure WebPubSub adds its own [service metrics](concept-metrics.md). However, most of the user interface is shared and common to other [Azure services that support autoscaling](../azure-monitor/autoscale/autoscale-overview.md#supported-services-for-autoscale). If you're new to the subject of Azure Monitor Metrics, review [Azure Monitor Metrics aggregation and display explained](../azure-monitor/essentials/metrics-aggregation-explained.md) before digging into WebPubSub Service Metrics. |
| 18 | +Azure WebPubSub adds its own [service metrics](concept-metrics.md). However, most of the user interface is shared and common to other [Azure services that support autoscaling](../azure-monitor/autoscale/autoscale-overview.md#supported-services-for-autoscale). If you're new to the subject of Azure Monitor Metrics, review [Azure Monitor Metrics aggregation and display explained](../azure-monitor/essentials/metrics-aggregation-explained.md) before digging into WebPubSub service Metrics. |
19 | 19 |
|
20 |
| -## Understanding autoscale in WebPubSub Service |
| 20 | +## Understanding autoscale in WebPubSub service |
21 | 21 |
|
22 |
| -Autoscale allows you to set conditions that will dynamically change the units allocated to WebPubSub Service while the service is running. Autoscale conditions are based on metrics, such as **Server Load**. Autoscale can also be configured to run on a schedule, such as every day between certain hours. |
| 22 | +Autoscale allows you to set conditions that will dynamically change the units allocated to WebPubSub service while the service is running. Autoscale conditions are based on metrics, such as **Server Load**. Autoscale can also be configured to run on a schedule, such as every day between certain hours. |
23 | 23 |
|
24 | 24 | For example, you can implement the following scaling scenarios using autoscale.
|
25 | 25 |
|
26 | 26 | - Increase units when the **Connection Quota Utilization** above 70%.
|
27 | 27 | - Decrease units when the **Server Load** is below 20%.
|
28 | 28 | - Create a schedule to add more units during peak hours and reduce units during off hours.
|
29 | 29 |
|
30 |
| -Multiple factors affect the performance of WebPubSub Service. No one metric provides a complete view of system performance. For example, if you're sending a large number of messages you might need to scale out even though the connection quota is relatively low. The combination of both **Connection Quota Utilization** and **Server Load** gives an indication of overall system load. The following guidelines apply. |
| 30 | +Multiple factors affect the performance of WebPubSub service. No one metric provides a complete view of system performance. For example, if you're sending a large number of messages you might need to scale out even though the connection quota is relatively low. The combination of both **Connection Quota Utilization** and **Server Load** gives an indication of overall system load. The following guidelines apply. |
31 | 31 |
|
32 | 32 | - Scale out if the connection count is over 80-90%. Scaling out before your connection count is exhausted ensures that you'll have sufficient buffer to accept new connections before scale-out takes effect.
|
33 | 33 | - Scale out if the **Server Load** is over 80-90%. Scaling early ensures that the service has enough capacity to maintain performance during the scale-out operation.
|
|
0 commit comments