-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Expose Scheduler Status #161
Conversation
b7eca6d
to
196b039
Compare
I've updated the header text with my approach. Here is a janky start.
This uses IPython widgets at the moment, but most of the actual logic is well separated. It might be better to use Bokeh plots in the future just so that we can more easily cross the notebook/web-ui divide. Some questions:
|
Note that the scheduler status widget shown here differs from the progressbar in that the new widget is all about scheduler and worker state, not the state of a particular set of tasks. I included the progressbar here though so that we can raise our visual standards a bit. cc @broxtronix |
This work looks really exciting! I think a dynamically updating graph of the nodes (like your dot visuals) would be amazing. |
The dot visuals don't scale well past 100 or so tasks. It would be great to find an alternative for larger numbers of tasks. If you have ideas on this then we should probably talk about it on another issue. |
@mrocklin Sorry I haven't had a chance to look closely at this yet, I've been having trouble getting the widgets to display, even In general I'd say just be on the lookout for when the |
I stumbled upon this PR looking for a way to embed the task graphs into the notebook itself. Is there a current incarnation of the |
@Juanlu001 no, not currently. I think that the right way to do this today would be to find some way to embed the bokeh graphs we're serving on ports 8787 and 8788 into the notebook, perhaps with an iframe. I'm not entirely sure about the best way to do this though. |
We need to expose the state of the network to expert users who are generally curious about why their jobs are taking a while, the health and state of their workers, etc..
People want to access this information from a variety of locations, including interactive terminals and notebooks, web pages, and programming and network interfaces. I'm taking the following approach:
cc @canavandl @quasiben @martindurant