Don't use the statistics cache, and send every connection in realtime #119
gustavo-iniguez-goya
started this conversation in
Ideas
Replies: 1 comment
-
Yes, good idea. This would be a natural step of software evolution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been thinking on this idea for some time now, but I haven't had time to test it.
The idea would be to not use the statistics cache, make the Ping() asynchronous, and send the stats in realtime as the events arrive. It could be configurable though.
By making the Ping() asynchronous we could calculate the lag between the nodes and the server. Which could indicate a performance problem, link issues, high system load, etc.
And since a node calls Subscribe() when it connects to the UI, and we detect when the communications channel with the node/UI is closed, there's no need to Ping() the UI in order to report that the node is alive.
Beta Was this translation helpful? Give feedback.
All reactions