Skip to content

Quotas and Limits

AWS

Limit TypeDescriptionDefault ValueAdjustable
Rules per groupThe maximum number of rules that can be created under a group5No
Consumer groups per groupThe maximum number of consumer groups that can be created under a group2Yes
Shared subscriptions per groupThe maximum number of subscriptions in a shared subscription group.100No
Maximum message expiry timeThe maximum message expiry time of MQTT5 message604800No
Topic alias maximumThe maximum value of MQTT 5 Topic Alias topics allowed for a client can per connection. If the client tries to publish with Topic Alias topics beyond the maximum limit, the client will be disconnected.8No
Retain Message Publish-In Per secondMQTT/HTTP publish requests with a RETAIN flag set made to the same topic per second.1No
Replay jobs per groupThe maximum number of replay jobs active (InProgress/Paused) per group5Yes
Firmwares per groupThe maximum number of firmwares (used for OTA job update)50Yes

 

Azure

Consumer Groups

Limit TypeDescriptionDefault ValueAdjustable
Consumer groups per groupThe maximum number of consumer groups that can be created under a group5Yes

IoT Hub tier and units

When a group is initially onboarded in Trimble IoT under Azure cloud, by default IoT Hub will be provisioned in S1 tier with 1 unit. Based on integrating application and devices’ projected traffic IoT hub tier and units for the group will be scaled. Contact support for queries related to scaling.

TierS1S3
Max Units20010
Total Messages per/day400000 /unit300000000 /unit
C2D (Outbound) Messages1.67 /sec/unit83.33 /sec/unit
D2C (Inbound) MessagesHigher of 100 /sec or 12 /sec/unit6,000 /sec/unit
Identity registry operations (create, update, delete)1.67 /sec/unit83.33 /sec/unit
New device connections (this limit applies to the rate of new connections, not the total number of connections)Higher of 100 /sec or 12 /sec/unit6,000 /sec/unit

Spike

IoT Hub allows 3x the limits based on the current tier set for upto 1 minutes as burst. For example,

  1. For S1 1 Unit - 1.67 Outbounds(C2D)/sec is allowed. So, upto 5 Outbounds(C2D)/sec will be allowed as burst for a few seconds upto 1 minute.

  2. For S1 5 Units - 8 Outbounds(C2D)/sec is allowed. So, upto 24 Outbounds(C2D)/sec will be allowed as burst for a few seconds upto 1 minute.

Device and Twin Updates

Twin updates to a device if done frequently (say., several times within a minute) will be throttled with a TooManyRequests response.

Handling Throttled Requests

Use response status code 429 to identify that the request has been throttled. Recommendation is to use the response status code to decide on appropriate action whereas the content in the response body can be used for the purpose of logging only. Please examine if the operation is suitable for retrying. Determine an appropriate retry count and interval with exponential back-off mechanism, wherever applicable. Test your retry strategy and implementation. In the event of undesired throttling behavior, contact support for assistance.