Question 6
A team builds an internal warehouse dashboard where multiple managers, each on a different computer, need to receive live low-stock alerts from the server in real time. They decide to use Flask-SSE with Redis.
Which of the following best explains Redis's role in a Flask-SSE setup?
Redis is used by Flask-SSE to authenticate connected users before events can be streamed to the browser.
Redis is optional in Flask-SSE and is only recommended when the application has a very large number of concurrent users.
Redis is only needed when SSE events must be stored permanently and replayed after reconnection.
Flask-SSE uses Redis as a shared event channel so published messages can be delivered to connected clients.