What is the best way to update all clients when Flask database changes without polling?
问题 Currently I have a Flask server that runs a small web frontend as well as a command line interface to that same server. The basic idea looks like this: <Top section: allows file upload> * list of files from database <Second section: allows file manipulation/ upload> * list of files from database <Third section: Not files, but still allows for database changes> * list of things made from database Now this works well from the front end, but currently if the CLI or another client makes a change