AWS IOT thing packet missing

0

Hi, I am using the AWS IOT Core service, In that, I created a Thing and I used Thing API directly in the EC2 instance. I am receiving data from the topic to which I subscribed. But here I am losing lots of packets from that topic. Is it because lots of devices are connected to a single thing? and how to solve this problem? please suggest to me how to solve this...

1개 답변
0

Hi. It's not clear from your question what your architecture is, but please be aware of AWS IoT Core quotas, especially these message broker limits: https://docs.aws.amazon.com/general/latest/gr/iot-core.html#message-broker-limits. You may be getting throttled. As an example, the "Publish requests per second per connection" limit means that for any one client/device connection, only 100 messages per second is possible.

Is it because lots of devices are connected to a single thing?

Devices don't connect to a Thing in the IoT Core registry. They connect to the IoT Core endpoint and the message broker, as a particular client ID (and that usually matches a Thing name). It's not possible to have multiple connections using the one client ID. Each device will have a unique client ID.

Can you please elaborate on your architecture? What is publishing to the topic and what is subscribing? How many clients are subscribing? You mentioned your EC2 instance, but it's not clear if it is a publisher or subscriber. How many messages per second are you trying to publish to the topic?

I used Thing API directly

AWS doesn't have anything called "Thing API" so can you please provide more details?

profile pictureAWS
전문가
Greg_B
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인