aiohttp or treq can be integrated to the project for asynchronous processing in flask
We are now using multithreading library so that each experiment runs on the backend in each own thread. This way, the callback for polling data for plotting should not interfere with the experiment execution. Check whether switching to multiprocesssing library (each experiment in each own process, not thread) is needed.
aiohttp or treq can be integrated to the project for asynchronous processing in flask
We are now using multithreading library so that each experiment runs on the backend in each own thread. This way, the callback for polling data for plotting should not interfere with the experiment execution. Check whether switching to multiprocesssing library (each experiment in each own process, not thread) is needed.