Performance issue after bridging between Mosuitto and AWS IoT core

0

I have followed https://aws.amazon.com/blogs/iot/how-to-bridge-mosquitto-mqtt-broker-to-aws-iot/ link. I am able establish bridging between Mosuitto broker and AWS IoT core. AWS IoT core is receiving as per the configuration I have added in bridge configuration. The problem is happening when we were doing performance testing. We have tried 2500 publishes at a time . This execution was completed in 10 seconds without fail. But AWS IoT core received only 369 messages. Its varying each time. But success rate below 50%. How can we resolve this performance issue?

質問済み 1年前228ビュー
1回答
2

Hi Anas P A,

when you publish 2500 messages in 10secs, you publish 250 messages per second. AWS IoT Core has a quota of 100 messages per second per connection. When Mosquitto does not open multiple connections that might be the limiting factor. You can work around this by opening multiple connections in case Mosquitto supports it.

Cheers,
Philipp

AWS
エキスパート
回答済み 1年前
profile pictureAWS
エキスパート
Greg_B
レビュー済み 1年前
  • Thanks Philips for response. Seems like that could be the reason. I have tried with multiples clients at bridge level. That is also not resolving my issue. So, Do we have any option to increase AWS IoT Core quota of publish messages per second per connection?

  • 100 messages per second per connection is a hard limit, that means it is not adjustable. Is your Mosquitto bridge capable of multiplexing connections to AWS IoT Core? Would it be an option to connect your devices directly to IoT Core so that a bridge does not become a bottle neck?

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ