Realtime Data Flow

I am currently working on a personal project where I have serveral iot devices which have several sensors attached. However, I am not quite sure about the best way to design the communication flow. Specifically, I need both real-time data and historical data. Initially, I thought about having an MQTT broker for communication between my iot devices and backend (django) and then through my backend I can use websockets to forward real-time updates to my mobile app and http for historical data. However, I’m unsure if this is the most efficient approach or if I should consider having the mobile app directly communicate with the MQTT broker for real-time data.
3 Replies
techielew
techielew4mo ago
@LMtx and @Umesh Lokhande may have opinions on this
LMtx
LMtx4mo ago
MQTT works perfectly fine for real-time data.
techielew
techielew4w ago
Hi @Q_i99, how's this project going? Any update? What path did you take?

Did you find this page helpful?