Save the file below as push_notifications.py Run python push_notifications.py Open a bunch of browsers pointing to http:localhost:5000/ Open up each browser’s console window. Hit submit in one, the rest should update. push_notifications.py: You need to have Flask and redis installed: