Skip to content

[5.5][sschiessl-bcp] Node Latency and reconnect strategy #1407

@abitmore

Description

@abitmore

Quoted from Telegram channel:

when I run a "latency test" I use the same calculation; handshake. Typically a 1-3 seconds per node; but upon connecting to a low latency node each subsequent call is about 0.125 seconds, which is what I report as latency in microDEX
In the absence of statistical approaches, I think it would be helpful in the very least, for the reference UI to update the latency number in the lower right, upon each orderbook update, with the time it took to make that orderbook call. It would also be of use to have a "last update" live ascending second counter, for time since last successful ping. Also, a blocktime latency to show if the data being displayed is in fact not stale. In the absence of such, any time the orderbook is not moving the user is left not knowing... is it 30 seconds old? 30 minutes old? 3 hours? ???!?
A combination of these ascending metrics would at least give an overall user experience of an application which is "alive"
this, though... is useless
image
disconnected since when? should I wait for it to reconnect on its own? should I fiddle with buttons until better?
what is the correct block number?
there is no real information provided by that metric; no real reason for common user to even know the block number.
my point being, that even a stale blocktime there would be much more useful than a stale block number
at least I could quickly compare the stale blocktime to my computers clock
stale block number could mean anything and until it changes again I'm left watching it and losing confidence

Metadata

Metadata

Assignees

Labels

[3] FeatureClassification indicating the addition of novel functionality to the design

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions