Welcome to IoTForums.com Community
Register now to participate in discussions, ask questions and share your knowledge on internet of things and automation! Feel free to sign up today.
Register Now

MQTT for Power Constrained Device

SS13

Just Hatched
Feb 8, 2022
1
0
1
USA
I am curious if MQTT is compatible for this used case:

The system has:
100,000 IoT microcontroller devices
devices use WiFi or cellular modems for communication
microcontroller and communication module must consume 240mW (on average) while in power down/sleep
devices must be able to woken up by a message with < 15 second delay (assuming good connectivity)

Would MQTT be a poor choice for this use case?
i.e.
Wouldn't the communication module always need an open socket, even during sleep?
Wouldn't there need to be 100,000 open sockets on the broker?
 

Karthik

Just Hatched
Apr 5, 2022
1
0
1
India
Based on our experience, we can handle up to 20k connections effectively with one single instance of the MQTT server. If you need to implement more connection then you may have to do a MQTT Load Balancing infrastructure with multiple MQTT instances.

To answer your question,
Would MQTT be a poor choice for this use case?
Ans : Depends on the Infrastructure & Cost.

Wouldn't the communication module always need an open socket, even during sleep?
Ans : Yes, the connection will be open and listening to the messages.

Wouldn't there need to be 100,000 open sockets on the broker?
Ans : Yes, it will have open sockets as many as the connected device.
 

Log in

or Log in using