What is max throughput and message rate a message unit can support in Azure Service Bus

2.3k views Asked by At

I am trying to do cost calculation for the azure service bus premium tier. I could not found the answer to the following simple questions

  • What max message rate a single message unit can support
  • What max throughput(data size/sec) a single message unit can support
1

There are 1 answers

9
krishg On

Service bus premium messaging does not impose message limit in terms of number in that way (except 1 message can be of max 1 MB, and queue/topic max size 80 GB). It acts more like a compute resource. Based on metrics, you should decide on scale up/down or use auto-scaling feature it has.

There are a number of factors to take into consideration when deciding the number of messaging units for your architecture:

  • Start with 1 or 2 messaging units allocated to your namespace.
  • Study the CPU usage metrics within the Resource usage metrics for your namespace.
  • If CPU usage is below 20%, you might be able to scale down the number of messaging units allocated to your namespace.
  • If CPU usage is above 70%, your application will benefit from scaling up the number of messaging units allocated to your namespace.

To learn how to configure a Service Bus namespace to automatically scale (increase or decrease messaging units), see Automatically update messaging units.

For more details, refer this and this.