exponentially decay message frequency in live_info
This way, you would not have to wait for all messages to be displayed after you open your laptop in the morning when you run an simulation overnight on the cluster.
notice this is a proof of concept, the randomness is not really important, but could be removed with if we keep track of the last printed message. Also it depends on status.comm.kernel.iopub_thread._events
which I suppose is meant for internal usage (indicated by the underscore before _events
.
Both these should be possible to mitigate when more time is spend on those parts.
Merge request reports
Activity
added 49 commits
-
ae3870e1...c816cf67 - 48 commits from branch
master
- 67b36ce4 - exponentially decay message frequency in live_info
-
ae3870e1...c816cf67 - 48 commits from branch
added 1 commit
- e0468228 - exponentially decay message frequency in live_info
added 1 commit
- f96ee903 - exponentially decay message frequency in live_info
added 1 commit
- 3450c4fb - exponentially decay message frequency in live_info
added 1 commit
- a05abe81 - exponentially decay message frequency in live_info
assigned to @jbweston
- Resolved by Bas Nijholt
- Resolved by Bas Nijholt
- Resolved by Bas Nijholt
If I understand correctly what we want to achieve is to stop posting updates to the runner info when there is no client connected.
It would be preferable to find a way to do this without private API (we should ask on Gitter or sth about how to apply "backpressure" in ipykernel).
We should accept this change, as it does improve the user experience and the "ugliness" is hidden away in the implementation. Minimally I would like to see a test for the private API that we hit before I give a thumbs up (we will have to test specifically against the most recent version of ipykernel, and maybe
master
also, but this can be a separate MR.).
- Resolved by Bas Nijholt
I've asked for some advice here.
Edited by Bas Nijholtadded 53 commits
-
40f48876...6cdd24e9 - 51 commits from branch
master
- 243561d6 - exponentially decay message frequency in live_info
- 7ec058c4 - test private attribute used in 'live_info'
-
40f48876...6cdd24e9 - 51 commits from branch
assigned to @jbweston
mentioned in commit a6dae434
mentioned in issue #125 (closed)