coiled / feedback

A place to provide Coiled feedback
15 stars 3 forks source link

Cluster dashboard page very CPU hungry #205

Closed fjetter closed 1 year ago

fjetter commented 2 years ago

The cluster dashboard page can be very CPU intensive. For the dask-engineering user where we have a couple hundred clusters and there is typically always something active this occasionally uses up all CPUs on my M1 (I'm using Chrome)

ntabris commented 2 years ago

Just to be explicit, when you say "cluster dashboard" you mean the page with this?

image
fjetter commented 2 years ago

Just to be explicit, when you say "cluster dashboard" you mean the page with this?

yes

FabioRosado commented 2 years ago

we can probably return less items. It's in my queue to work on this page and make the table better but I have some things to do first like updating our material ui library before I take on changing this page

shughes-uk commented 2 years ago

Pagination is the solve here, @FabioRosado's work with updating MUI should let us use a nicer component and paginate things properly

ncclementi commented 2 years ago

we can probably return less items I'm trying to check on a cluster in the dashboard page, and it's pretty unresponsive, can't filter or check details pages, it's like frozen, Can we display fewer clusters until we have pagination?

dchudz commented 2 years ago

@ncclementi if we're just talking about temporary workarounds for now... do you actually need the dashboard page?

if you have the cluster ID, you can go right to the details page (the coiled client gives you a link when the cluster starts up).

Does that get you what you're trying to check on?

FabioRosado commented 2 years ago

I'll do the quick fix Monday (we still would need to deploy) for now David's suggestion is a good idea

ncclementi commented 2 years ago

Does that get you what you're trying to check on?

I was trying to find an older (from yesterday) cluster, that I did not have the details page link because the notebook output was cleared out. I wanted to check some versions of packages installed but there was no way to find the cluster. This is not critical, so I can live with it.

dchudz commented 2 years ago

I see, thanks Naty. And thanks Fabio!

fjetter commented 2 years ago

if we're just talking about temporary workarounds for now... do you actually need the dashboard page?

if you have the cluster ID, you can go right to the details page (the coiled client gives you a link when the cluster starts up).

I consider the dashboard page pretty important. I often don't have the cluster ID at hand and need this page to navigate and find clusters that just started. I also think a filter is required but that's obviously a different topic

shughes-uk commented 1 year ago

Dashboard is paginated now and is way less intensive