We are building an application, where IoT devices (temperature sensor) will be pushing data to Azure IoT Hub.
And there would be a webjob which will be reading this data and pushing it in database (after rolling it up along with raw). We also need a feature on web application, where a user can subscribe to any room/area and we need to push current temperature to his screen (whenever it changes). And this is required only when user is on that screen.
We were planning to have redis pub/sub for this task. Webjob can publish this data to redis pub/sub (along with db). And webApplication will subscribe to Redis PubSub (only for the users who has subscribe to web server using signalR).
Any thoughts on this design? Is Redis PubSub is a good choice in this case?