【问题标题】:Azure Service Bus: Message size, technology limit and pricingAzure 服务总线:消息大小、技术限制和定价
【发布时间】:2021-04-22 10:55:25
【问题描述】:

我正在尝试阅读 Azure 服务总线队列技术规范和定价,但我不清楚

1) 消息有大小限制吗?

2) 定价是否可能不取决于消息大小?似乎,但我不敢相信。

(我想为每条消息发送大约 10K - 100K 数据。消息队列将由在多个实例中运行的并发相同工作角色使用。

提前谢谢

【问题讨论】:

标签: azure


【解决方案1】:

1-)

服务总线队列支持的最大消息大小为 256 KB( 标头,其中包括标准和自定义应用程序属性, 最大大小为 64 KB)。数量没有限制 消息保留在队列中,但队列的总大小有上限 队列持有的消息。这个队列大小是在创建时定义的, 上限为 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/

【讨论】:

  • 这在 2017 年不太准确。我看不到任何有关超过 64KB 的消息的信息
  • 这个答案来自2014年的官方文档。
  • 看起来高级级别现在可以处理高达 1Mb 的消息,尽管要付出一定的代价。 docs.microsoft.com/en-us/azure/service-bus-messaging/….
  • 是不是所有的消息都保存在'topic'中,这样'subscriptions'可以有无限数量的消息?
  • @ThiagoCustodio 嘿。很抱歉这么多年打扰您,但是您可以将 Kb 更改为 KB 吗?当您在谷歌上搜索服务总线的最大消息大小时,它以巨大的粗体字母声称它是 256 Kb,而实际上它是 256 KB。小错误,但它可能会导致人们现在只是在谷歌上搜索答案。
【解决方案2】:
  1. 邮件有大小限制吗?

是的,有。 Basic 和 Standard 为 256 KB,Premium 为 1 MB

  1. 定价是否可能不取决于邮件大小? 看起来,但我不敢相信。

消息大小限制基于定价层,1 MB 消息大小适用于高级层

来源:Service Bus pricing

【讨论】:

    猜你喜欢
    • 2012-11-17
    • 1970-01-01
    • 2012-08-22
    • 2020-07-28
    • 2022-01-13
    • 2015-01-18
    • 2015-06-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多