Sort:  

No... its probably my lousy ISP and the fact that I am extremely distant from the rest of the world (higher latency). It's very common for the node time to time to not be in full sync with the head of the chain. But still that should not affect the block production if you take the right decisions about when to have the node registered or not (hence my he-awm script)

To be honest, I don't know if this is the code that does not yet know to quickly sync when there is lack or slow response from the Streamer nodes. Do you experience the same or you are always in sync?

I have other stuff running that does not behave like this, so, for now I am yet not 100% sure if this is due network or the P2P code.

I am always in sync. In fact, I am surprised that the node is working so smoothly. (knock knock no jinx :) )

It may help that my VPS resides in Lithuania :)

Most likely... but hence any node can easily become out of sync for a diverse amount of reasons. And to react to that is essential for network stability. That's why I would recommend everyone to use something like the script I created.

Can your script, potentially, be used as a sort of load balancer or node switcher too? So you could switch from one node to the other manually? With some safeguard in place that the switched-to node must be in sync :)

Not yet, but I have plans to add something like that. Either for nodes behind the same IP or behind different IPs.

Great. Imagine the web scoreboard where you can see the health of your nodes and switch them with a click :)

Yeah... I would like that too, but that's not my area of expertise. And it's still too soon to kind of go that direction alone. The node is quite something very simple.

But from the already developed tools for general witnesses monitoring like the https://primersion.com/he-witnesses from @primersion I believe it would be easier to do it, given that support for the nodes to switch will be coded into the node API of HE code. Long shot things I would say. There's too many happening... I have been into this path more than once so, I know it's not like a game developing or a flash stream out of the shell product.

But yeah, thanks for the insight. I have those as well 😁