-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revisit event loop blocking functions #1577
Comments
`snooze`/`unsnooze`/`make_executor`/`get_executor`/`get_context` and `create_and_set_executor` are now all async, with some blocking operations running in the background pool. Ref LiberTEM#1577
This is now taken care of as part of #1578 - |
`snooze`/`unsnooze`/`make_executor`/`get_executor`/`get_context` and `create_and_set_executor` are now all async, with some blocking operations running in the background pool. Ref #1577
Remainders from #1572:
unsnooze
->get_executor
: slow on some machines, so it might need to beasync
(or can it run in a thread?) Snooze state display in UI #1578shutdown
: closing the executor could take a while? (this might need to be refactored somehow, as we can't just make it async... and cleaning up the snooze task can't be done reliably from a different thread, which makes things difficult...)make_executor
Snooze state display in UI #1578Regarding
unsnooze
andmake_executor
- both are basically blocked by this issue:LiberTEM/src/libertem/web/server.py
Lines 244 to 252 in 5d4d2de
Also, the cluster spin-up could be more lazy, like only wait for a fraction of workers to come up, instead of all of them, and already start servicing real user requests.
The text was updated successfully, but these errors were encountered: