Skip to content

Introduce score for latency in NodeRecordMetadata #582

@czarte

Description

@czarte

We want to introduce new feature in NodeRecordMetadata for Relay latency. This represents time, that takes CORES Packet to travel thru the particular Relay node and back to us. We want to send request to next node after the node we want to measure. This request will looks like clasic http request CORES Package, but the target_opt node will be handling it differently.
As we have discussed solution in the team, we came up with new network architecture recognition tool, sort of the ping, that sends special request to target_node and track the time to recieve response from target. This will cover the relay node in the middle, this could be performed as many possible routes, the originatig node have to his disposal. Accuracy and protection meassueres are taking place here, we want to test the rely as much as possible and compare those results, looking for inconsistencies over time and on different routes.
Hint: it could be usefull to store latency requests in HashMap<Timestamp, LatencyTestInfo> where LatencyTestInfo contains Vec represents the route, and Duration.

Metadata

Metadata

Assignees

No one assigned

    Projects

    • Status

      📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions