alinaciuysal / OEDA

Apache License 2.0
1 stars 1 forks source link

Async Flask controller #3

Open alinaciuysal opened 6 years ago

alinaciuysal commented 6 years ago

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.