Skip to content

Commit 6ce0078

Browse files
Merge pull request #299885 from jlian/patch-608483
Add maximum message size for each memory profile
2 parents 333e219 + 067fb55 commit 6ce0078

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

articles/iot-operations/manage-mqtt-broker/howto-configure-availability-scale.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.topic: how-to
77
ms.subservice: azure-mqtt-broker
88
ms.custom:
99
- ignite-2023
10-
ms.date: 03/17/2025
10+
ms.date: 05/14/2025
1111

1212
#CustomerIntent: As an operator, I want to understand the settings for the MQTT broker so that I can configure it for high availability and scale.
1313
ms.service: azure-iot-operations
@@ -174,6 +174,7 @@ When you use this profile:
174174

175175
- Maximum memory usage of each frontend replica is approximately 99 MiB, but the actual maximum memory usage might be higher.
176176
- Maximum memory usage of each backend replica is approximately 102 MiB multiplied by the number of backend workers, but the actual maximum memory usage might be higher.
177+
- Maximum message size is 4 MB.
177178
- The maximum size of the incoming buffer for PUBLISH data is approximately 16 MiB per backend worker. However, the effective size may be lower due to backpressure mechanisms, which activate when the buffer reaches 75% capacity resulting in a buffer size of approximately 12 MiB. Rejected packets have a PUBACK response with a *Quota exceeded* error code.
178179

179180
Recommendations when you use this profile:
@@ -189,12 +190,13 @@ When you use this profile:
189190

190191
- Maximum memory usage of each frontend replica is approximately 387 MiB, but the actual maximum memory usage might be higher.
191192
- Maximum memory usage of each backend replica is approximately 390 MiB multiplied by the number of backend workers, but the actual maximum memory usage might be higher.
193+
- Maximum message size is 16 MB.
192194
- The maximum size of the incoming buffer for PUBLISH data is approximately 64 MiB per backend worker. However, the effective size may be lower due to backpressure mechanisms, which activate when the buffer reaches 75% capacity resulting in a buffer size of approximately 48 MiB. Rejected packets have a PUBACK response with a *Quota exceeded* error code.
193195

194196
Recommendations when you use this profile:
195197

196198
- Only one or two frontends should be used.
197-
- Clients shouldn't send large packets. You should only send packets smaller than 10 MiB.
199+
- Clients shouldn't send large packets. You should only send packets smaller than 16 MiB.
198200

199201
### Medium
200202

@@ -213,6 +215,7 @@ Use this profile when you need to handle a large number of client messages.
213215

214216
- Maximum memory usage of each frontend replica is approximately 4.9 GiB, but the actual maximum memory usage might be higher.
215217
- Maximum memory usage of each backend replica is approximately 5.8 GiB multiplied by the number of backend workers, but the actual maximum memory usage might be higher.
218+
- Maximum message size is 256 MB.
216219
- The maximum size of the incoming buffer for PUBLISH data is approximately 2 GiB per backend worker. However, the effective size may be lower due to backpressure mechanisms, which activate when the buffer reaches 75% capacity resulting in a buffer size of approximately 1.5 GiB. Rejected packets have a PUBACK response with a *Quota exceeded* error code.
217220

218221

0 commit comments

Comments
 (0)