flambe
flambe copied to clipboard
Reporting script can die on the orchestrator
When running on a cluster, clicking both the "download" buttons on the report site can lead to a crash of parts of the webapp.
steps to reproduce:
- start flambe on cluster
- wait until reporting becomes available
- click on both "download" buttons
- click on console. There, you'll see
Oops! Results not available
As @iitzco-asapp mentioned, this is b/c the simple flask server cannot handle parallel requests. We can solve this issue by running the report site behind a wsgi server such as gunicorn. More information here: https://flask.palletsprojects.com/en/1.1.x/deploying/wsgi-standalone/. I do fear running the report site behind a wsgi server may be an overkill though.