muon-java icon indicating copy to clipboard operation
muon-java copied to clipboard

Thread usage is opaque, add monitor on dispatch thread and tooling to understand it

Open daviddawson opened this issue 9 years ago • 1 comments

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.

daviddawson avatar Feb 06 '17 10:02 daviddawson

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.

daviddawson avatar Sep 02 '17 09:09 daviddawson