AWS IoT Core throttling cool down?

1

Hi,

we expect high traffic in our AWS IoT Core endpoint and performed load testing recently to understand its limits. After sending thousands of events it started to throttle and ignore our messages which is perfectly fine considering the limits defined here:

{
    "timestamp": "2022-02-04 15:55:46.100",
    "logLevel": "ERROR",
    "traceId": "-----------",
    "accountId": "-----------",
    "status": "Failure",
    "eventType": "Publish-In",
    "protocol": "MQTT",
    "topicName": "-------------",
    "clientId": "-------------",
    "principalId": "-------------",
    "sourceIp": "-------------",
    "sourcePort": 55497,
    "reason": "throttled"
}

The problem is it seems it never "cools down". If we give it one hour or days, the message is still rejected (Failure/throttled). I thought that maybe a new clientid could help it didn't.

Is this known and expected? If so, how can we deal with it? It's been hard to understand what is being taken into consideration for the throttling once it's active, maybe the sourceIp?

WillAWS
asked 2 years ago716 views
2 Answers
1

Problem solved. The throttling was occurring because I had reached the limit of retained messages for the account. If I delete them all or start sending messages with no retain flag it all goes well. I wish the error message was clearer about it but I can't blame anyone else.

Will
answered 2 years ago
1

The "throttled" reason is quite common. How can we know the root cause of throttled? Do AWS have any monitor tools to figure out what the limit is reached?

PhamDuy
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions