Skip to content
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

Create a view of Resources #63

Closed
Tracked by #39
seanmonstar opened this issue Jul 12, 2021 · 4 comments
Closed
Tracked by #39

Create a view of Resources #63

seanmonstar opened this issue Jul 12, 2021 · 4 comments
Assignees
Labels
C-console Crate: console. E-medium Effort: medium. S-feature Severity: feature. This is adding a new feature.
Milestone

Comments

@seanmonstar
Copy link
Member

seanmonstar commented Jul 12, 2021

As we instrument resources (sockets, files, timers, etc) (#39), we want a view to visualize them, seeing related attributes and states, such as what task they currently "belong" to.

@seanmonstar seanmonstar mentioned this issue Jul 12, 2021
4 tasks
@seanmonstar seanmonstar changed the title Designing the individual views in the Console. Create a view of Resources Jul 12, 2021
@seanmonstar
Copy link
Member Author

I was playing with some fake data and came up with this potential mock-up:

console-resources-view

@pnkfelix
Copy link
Contributor

pnkfelix commented Jul 15, 2021

One important detail/goal here is that in an ideal world, a user would be able to distinguish "Task A is waiting on Resource" from "Task B currently using Resource", and that in turn from "One of tasks C or D responsible for eventually replenishing Resource." (I can imagine in the general case it may not be feasible to actually supply all that info, especially the latter in a very dynamic system. But I can dream!)

@seanmonstar
Copy link
Member Author

Agreed, this will be especially useful for things like channels or locks, where we know one task is doing something that will affect another waker.

@seanmonstar seanmonstar added this to the 0.1 milestone Aug 13, 2021
@seanmonstar seanmonstar added C-console Crate: console. E-medium Effort: medium. S-feature Severity: feature. This is adding a new feature. labels Aug 13, 2021
@hawkw
Copy link
Member

hawkw commented Dec 15, 2021

I believe this was implemented in #188.

@hawkw hawkw closed this as completed Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-console Crate: console. E-medium Effort: medium. S-feature Severity: feature. This is adding a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants