You are viewing a single comment's thread from:

RE: New LightHive release: 0.3.0

in HiveDevs3 years ago

I need to have a look at this... if this can be put in front of the RPC calls hive-engine nodes do, this would solve some of the problems I had because of the long distance. Now I have a HIVE local node too, but this will probably help too.

Cheers

Sort:  

The module is here: https://github.com/emre/lighthive/blob/master/lighthive/node_picker.py

It uses get_dynamic_global_properties call to measure response time. If hive-engine have the same api/format, then it should work directly, otherwise you need to customize it a little bit.