0👍
Good to see we got similar ideas about designing this architectural issue. But i’m late. I wanted to share my approach.
I just started to build my personal project. Kind of real-time dashboard.
We know 1st and 2nd options are not worth of implementing. And i thought about 4th option too. Since clients receive similiar data, why we should group them to load faster. Anyway this is next step after implementing real-time data transfer.
Actually option 3 (Redis pub/sub) worked for me. As i write, my current project got window which is big as 5 sec to send data. And i’m going to update data every second.
(Unlike your project my frontend is Flutter. This shouldn’t be problem.)
Source:stackexchange.com