Public preview: Performance improving features for Azure Service Bus premium
Published date: December 12, 2022
Enable higher throughput levels for Azure Service Bus premium via two new features in public preview today.
First, we are releasing scaling partitions, allowing the use of partitioning for the premium messaging tier. Service Bus partitions enable messaging entities to be partitioned across multiple message brokers. This means that the overall throughput of a partitioned entity is no longer limited by the performance of a single message broker. Additionally, a temporary outage of a message broker, for example during an upgrade, does not render a partitioned queue or topic unavailable, as messages will be retried on a different partition.
Second, we are making a change to our infrastructure, which will result in more consistent low latency. This is accomplished by switching our storage to a different implementation called local store. During public preview we will create partitioned namespaces using this new feature, but in the future all new namespaces will be created on local store.
Scaling partitions in premium namespaces work in close conjunction with scaling through messaging units (MUs), as the configured messaging units on a namespace are equally distributed across the different partitions. Currently it is possible to scale up to four partitions, meaning we can scale up to a total of 64MU.
There are some differences between partitioning in the standard and premium SKUs. First, the number of partitions is configured during namespace creation on the premium SKU. Second, the premium SKU does not allow non-partitioned entities in partitioned namespaces.
To enable partitions, select the number of partitions during creation of a new namespace. Initially, these features will be available in East US and North Europe, with more regions following. It is not possible to change the number of partitions after creation. More details can be found in the documentation.