Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the max number (if any) of subscriptions a Windows Azure Service Bus Topic can have?

I'm considering an architecture that could have tons of subscribers to a single topic. Like tens or hundereds of thousands of individual subscribers. Each would have a SQL filter, something like:

User = 'SomeUserIdentifier'

Just wondering if I'm going to run into a max number of subscriptions on a topic at some point.

like image 594
Paul Fryer Avatar asked Jan 05 '14 21:01

Paul Fryer


People also ask

What is the maximum size of a message can be stored in a Azure Service Bus queue in standard tier?

Service Bus messaging services (queues and topics/subscriptions) allow application to send messages of size up to 256 KB (standard tier) or 100 MB (premium tier).

What is maximum delivery count in Azure Service Bus?

Maximum delivery countThe default value is 10. Whenever a message has been delivered under a peek-lock, but has been either explicitly abandoned or the lock has expired, the delivery count on the message is incremented. When the delivery count exceeds the limit, the message is moved to the DLQ.

How many Azure subscriptions can I have?

By default, a maximum of 50,000 Azure AD resources can be created in a single tenant by users of the Azure Active Directory Free edition. If you have at least one verified domain, the default Azure AD service quota for your organization is extended to 300,000 Azure AD resources.

What are topics in Azure Service Bus?

A topic subscription resembles a virtual queue that receives copies of the messages that are sent to the topic. Consumers receive messages from a subscription identically to the way they receive messages from a queue.


1 Answers

Service Bus supports up to 2,000 subscriptions per topic. (source)

But if you need to go beyond the 2,000 subscriptions limit you can create multiple levels of subscriptions with the Auto-forwarding capabilities of a Subscription. This means you could have the following:

Topic A

  • Subscription 1 -> Auto-forward -> Topic A1 -> Subscription A1.1, Subscription A1.2, ...
  • Subscription 2 -> Auto-forward -> Topic A2 -> Subscription A2.1, Subscription A2.2, ...
  • ...
  • Subscription 2000 -> Auto-forward -> Topic A2000 -> Subscription A2000.1, Subscription A2000.2, ...

This means you would have virtually no limit on the number of subscriptions you could have on a topic.

like image 179
Sandrino Di Mattia Avatar answered Oct 07 '22 17:10

Sandrino Di Mattia