Hello everyone.
I have faced with a problem. For my webinar platform, I need to implement a Poll functionality. In a nutshell, a moderator can click a button in the admin panel, and after this, all users on this event have to start the Poll passing. For now, let’s imagine that I have to redirect all of them.
The current idea is to have an endpoint that will return a status of the event, e.g. live, poll, … On the front part, I will implement a script that will ping this endpoint (every 5 seconds) and redirect users if required. To prevent a big load on my system I would like to use Redis, it will cache status and help my system. As an additional idea after the Poll triggers, I will delete the cache for this event and cache the new status.
What do you think about this
P.S. I read about WebSockets, but meh