You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/service-bus-premium-messaging.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,31 @@ The CPU and memory usage are tracked and displayed to the you for the following
66
66
- Understand the capacity of resources purchased.
67
67
- Capacity planning that helps you decide to scale up/down.
68
68
69
+
## Messaging unit - How many are needed?
70
+
71
+
When provisioning an Azure Service Bus Premium namespace, the number of messaging units allocated must be specified. These messaging units are dedicated resources that are allocated to the namespace.
72
+
73
+
The number of messaging units allocated to the Service Bus Premium namespace can be **dynamically adjusted** to factor in the change (increase or decrease) in workloads.
74
+
75
+
There are a number of factors to take into consideration when deciding the number of messaging units for your architecture:
76
+
77
+
- Start with ***1 or 2 messaging units*** allocated to your namespace.
78
+
- Study the CPU usage metrics within the [Resource usage metrics](service-bus-metrics-azure-monitor.md#resource-usage-metrics) for your namespace.
79
+
- If CPU usage is ***below 20%***, you might be able to ***scale down*** the number of messaging units allocated to your namespace.
80
+
- If CPU usage is ***above 70%***, your application will benefit from ***scaling up*** the number of messaging units allocated to your namespace.
81
+
82
+
The process of scaling the resources allocated to a Service Bus namespaces can be automated by using [Azure Automation Runbooks](../automation/automation-quickstart-create-runbook.md).
83
+
84
+
> [!NOTE]
85
+
> **Scaling** of the resources allocated to the namespace can be either preemptive or reactive.
86
+
>
87
+
> ***Preemptive**: If additional workload is expected (due to seasonality or trends), you can proceed to allocate more messaging units to the namespace before the workloads hit.
88
+
>
89
+
> ***Reactive**: If additional workloads are identified by studying the resource usage metrics, then additional resources can be allocated to the namespace to incorporate increasing demand.
90
+
>
91
+
> The billing meters for Service Bus are hourly. In the case of scaling up, you only pay for the additional resources for the hours that these were used.
92
+
>
93
+
69
94
## Get started with Premium Messaging
70
95
71
96
Getting started with Premium Messaging is straightforward and the process is similar to that of Standard Messaging. Begin by [creating a namespace](service-bus-create-namespace-portal.md) in the [Azure portal](https://portal.azure.com). Make sure you select **Premium** under **Pricing tier**. Click **View full pricing details** to see more information about each tier.
0 commit comments