Azure Service Bus

Service Bus is a message-broker system intended for enterprise applications. These apps often utilize multiple communication protocols, have different data contracts and higher security requirements, and can include both cloud and on-premises services. Service Bus is built on top of a dedicated messaging infrastructure designed for exactly these scenarios.

Use Service Bus topics if you:

  • Need multiple receivers to handle each message.

Use Service Bus queues if you:

  • Need an At-Most-Once delivery guarantee.
  • Need a FIFO guarantee.
  • Need to group messages into transactions. Transactions allow to make sure that all messages get processed, or none of them are processed.
  • Want to receive messages without polling the queue.
  • Need to provide a role-based access model to the queues.
  • Need to handle messages larger than 64 KB but less than 100 MB. The maximum message size supported by the standard tier is 256 KB and the premium tier is 100 MB.
  • Queue size won’t grow larger than 1 TB. The maximum queue size for the standard tier is 80 GB and for the premium tier, it’s 1 TB.
  • Want to publish and consume batches of messages.

Reference Materials

Microsoft Learn: