muon-java
muon-java copied to clipboard
Thread usage is opaque, add monitor on dispatch thread and tooling to understand it
Muon Version: 7.1.6 Language: JVM
As seen in https://github.com/muoncore/photon/issues/5 it is possible for protocols to be written that do excessive wsork (even block) the main dispatch thread. This will either slow event dispatch, or cause it to stop completely, killing the muon service.
This behaviour should be monitored and alerted if possible. Other worker pools should also be monitored and metrics provided.
Centralised thread usage in https://github.com/muoncore/muon-java/commit/078a1897e31e2354506cc59cbf8aea39238acee5
Now needs the ring dispatch to be monitored and the pool to be managed to fully fix this.