ipython / ipython/ipykernel

Resource monitoring messages

Open
#262 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
734
Forks
412
Avg merge
1d 5h
Merged PRs (30d)
8

Description

I'm told there is already some work in progress on adding a message type for resource monitoring ('resource_request', 'resource_response') to check on available memory, CPU usage, etc. Following up on an in-person conversation with @ivanov, some thoughts:

* Should this same communication channel provide some static information like `multiprocessing.cpu_count()`? We might draw inspiration from [the informative `_repr_html_` of `dask.distributed.Client`](https://github.com/dask/distributed/blob/master/distributed/client.py#L582).
* It would be cool to support a notebook / JupyterLab extension to display (and actively update) visual indicators of memory and CPU usage on the machine where the kernel is running.

I'd be happy to write some code for this, but I don't want to step on any existing branches. If these comments would fit into an existing GH issue, feel free to close this one and direct me there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.