...
Test2 - Prometheus Dashboard with metrics
Test3 - Prometheus Dashboard with metrics
Graphs
CPU and memory usage
...
Adding Listener takes 2 seconds
The method that takes almost 2 sec here is:
Every broadcast is refreshed - immediately
...
=> What is that good for to restart every single stream by default immediately again ?
onIceCandidate is called 1600 times
During this initialisation for ~50 streams StreamProcessor::onMessage(onIceCandidate) is called 1600 times.
=> Is it really necessary to package all those WebSocket calls up in this onIceCandidate ? Can't there be another way for the client to get possible iceCandidates ?
Tomcat threads are better used
...