Non-Message Queue / Simple Long-Polling in Python (and Flask)
I am looking for a simple (i.e., not one that requires me to setup a separate server to handle a messaging queue) way to do long-polling for a small web-interface that runs calculations and produces a graph. This is what my web-interface needs to do: User requests a graph/data in a web-interface Server runs some calculations. While the server is running calculations, a small container is updated (likely via AJAX/jQuery) with the calculation progress (similar to what you'd do in a consol with print (i.e. print 'calculating density function...')) Calculation finishes and graph is shown to user.