Skip to content

Commit c3733b8

Browse files
authored
Merge pull request #92681 from axisc/aschhab_premium_recommendations
adding recommendations on premium messaging units
2 parents 8b2176c + 258a4b1 commit c3733b8

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

articles/service-bus-messaging/service-bus-premium-messaging.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,31 @@ The CPU and memory usage are tracked and displayed to the you for the following
6666
- Understand the capacity of resources purchased.
6767
- Capacity planning that helps you decide to scale up/down.
6868

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+
6994
## Get started with Premium Messaging
7095

7196
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

Comments
 (0)