Skip to content

Conversation

@erikdubbelboer
Copy link
Member

The previous latency calculations are still being evaluated, but I would like to also test latency latency calculations based on lat/long coordinates.

In this experimenal code we'll get the lat/long from cloudflare and use that to estimate the latency between peers.

We can then evaluate this value next to the previous latency value based on base station pings, and the latency we measure between peers.

We'll also store the lat/long coordinates with the avg-latency-at-10s event. This way we can start building a map of latencies between coordinates in the world. We could use this map to more accurately predict latencies in the future.

The previous latency calculations are still being evaluated, but I would
like to also test latency latency calculations based on lat/long
coordinates.

In this experimenal code we'll get the lat/long from cloudflare and use
that to estimate the latency between peers.

We can then evaluate this value next to the previous latency value based
on base station pings, and the latency we measure between peers.

We'll also store the lat/long coordinates with the `avg-latency-at-10s`
event. This way we can start building a map of latencies between
coordinates in the world. We could use this map to more accurately
predict latencies in the future.
Copy link
Collaborator

@koenbollen koenbollen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good for an experiment.

This comment was marked as resolved.

@erikdubbelboer erikdubbelboer merged commit d983058 into main Dec 4, 2025
7 checks passed
@erikdubbelboer erikdubbelboer deleted the latency2 branch December 4, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants