So, I have a bunch of mobile devices (millions) and will have a backend system. My needs/use case are:- 1. To collect data from the devices and send to backend. 2. To send Push messages from my backend system to individual or groups of devices.
So, given this scenario, does it make sense to use MQTT for communication between my backend and the devices? One of the confusions, that I have is that in use case #1, devices are publishers and some system in backend will be subscribers, whereas for use case #2, devices are subscribers for the push messages and a backend system will be the publisher. Is this possible? Or am I thinking about it the wrong way?