diff options
author | Konstantin Khlebnikov <koct9i@gmail.com> | 2024-06-20 16:10:57 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-06-20 16:47:21 +0300 |
commit | bbce8d162e75ac65a1f2640015cdd9002e58ff7d (patch) | |
tree | 3cd378ae79cfb0028eb53fd110795a5a89356aac /contrib/python | |
parent | 25d1c72183cfc4f224ed196c133164778fc3aed4 (diff) | |
download | ydb-bbce8d162e75ac65a1f2640015cdd9002e58ff7d.tar.gz |
[RFC] Fiber watchdog
- Add watchdog invoker wrapper for detecting bulky callbacks
- Detect bulky callbacks in cluster node job invoker
Sample usage for watchdog invoker.
Alternative design - maintain per-thread time of last reschedule and check them all periodically.
That's how various watchdog live in linux kernel (hung-task-detector, rcu-stale, etc).
Also it would be nice to print source code location related to current closure.
It seems implemented but not used/exported.
---
b051824c48dd4808f74b7681d53d02111980bacb
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/633
Diffstat (limited to 'contrib/python')
0 files changed, 0 insertions, 0 deletions