Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Service Bus: Message size, technology limit and pricing

Tags:

azure

I am trying to read the Azure Service Bus queue tech specs and pricing but it is not clear to me that

1) Is there any size limit for a message?

2) Is it possible that pricing is not depend on the message sizes? It seems, but I can not believe.

(I would like to send approx 10K - 100K data per message. Message queue will be consumed by concurrent identical worker roles running in multiple instances.

Thx in advance

like image 691
g.pickardou Avatar asked Mar 13 '14 16:03

g.pickardou


People also ask

What is the message size limit of Azure service bus?

Azure Service Bus: Message size, technology limit and pricing. 1-) Service Bus queues support a maximum message size of 256 Kb (the header, which includes the standard and custom application properties, can have a maximum size of 64 Kb).

What is service bus pricing in azure?

Service Bus pricing. Azure Service Bus is a messaging infrastructure that sits between applications allowing them to exchange messages for improved scale and resiliency.

What is the difference between Azure service bus and MSMQ?

A developer using MSMQ on-premises can send messages up to 4 MB in size, while an Azure developer using Storage Queues will be forced to fit everything into 64 KB. The same Azure developer choosing to use Service Bus instead will benefit from a whopping 256 KB when using Standard tier and a cosmic 1 MB when using Premium tier.

What is ContentType in Azure service bus?

Azure Service Bus, for example, has a system property called “ContentType” specifically designed for that. Free download this blog as a PDF document for offline read. How big your message can be? And last, but not the least common attribute of all messages is size limit.


Video Answer


1 Answers

1-)

Service Bus queues support a maximum message size of 256 KB (the header, which includes the standard and custom application properties, can have a maximum size of 64 KB). There is no limit on the number of messages held in a queue but there is a cap on the total size of the messages held by a queue. This queue size is defined at creation time, with an upper limit of 5 GB.

http://www.windowsazure.com/en-us/documentation/articles/service-bus-dotnet-how-to-use-queues/

2-)

Queues and Topics

$0.01 for every 10,000 messages

Messages exceeding 64KB in size will result in an additional message being charged for every 64KB in message. Billable messages include any “no message available” replies from Service Bus in response to receive requests made against empty queues/subscriptions.

Relay

$0.10 for every 100 relay hours

$0.01 for every 10,000 messages

Relay hours start when the first listener connects to a given relay address and end when the last listener disconnects from that address, and are rounded up to the next clock hour. As with queues/topics, messages greater than 64KB in size will generate additional billable messages per 64KB of additional content.

http://www.windowsazure.com/en-us/pricing/details/service-bus/

like image 66
Thiago Custodio Avatar answered Sep 29 '22 19:09

Thiago Custodio