我正在尝试对 azure 服务总线高级层进行成本计算。我找不到以下简单问题的答案
- 单个消息单元可以支持的最大消息速率
- 单个消息单元可以支持的最大吞吐量(数据大小/秒)
最佳答案
服务总线高级消息传递不会以这种方式对消息数量施加限制(除了 1 条消息的最大大小为 1 MB,队列/主题的最大大小为 80 GB)。它的作用更像是一种计算资源。根据指标,您应该决定扩大/缩小规模或使用它具有的自动缩放功能。
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.
关于azure - Azure 服务总线中消息单元可以支持的最大吞吐量和消息速率是多少,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64274946/