-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ndt7: Add a way to measure latency #322
Comments
I have started working on this and have implemented ~50% of it here: https://github.com/bassosimone/ndt-server/tree/feature/roundtrip. It should take 1-2 more weeks for me to finish it 🤞 |
Awesome news! Thank you so much! And how does it work when it comes to deployment exactly once the feature is released? Is it automatically deployed to all your NDT7 servers? |
@EKami if the PR is accepted upstream, I guess it should be released in a few weeks. |
@EKami the method you described for the "hacky solution" using upload will not work the way you want. The messages sent by the server are randomly timed. So, there is no helpful correspondence between upload start time, time of first message received from the server, and the system to system ping times. @EKami what is the use-case for this type of latency measurement? Application level latency measurements (as @bassosimone is proposing) may be inherently larger than the equivalent |
@stephen-soltesz |
First steps towards m-lab/ndt-server#322
First steps towards m-lab/ndt-server#322 While there fix usage
I have written a prototype and am now evaluating it (see the above commits referencing this issue). It will take a little more time to see whether this works in reasonable way in JavaScript. If I see convincing data, then I will turn this prototype into a spec and submit it to the M-Lab core team for evaluation. |
Awesome news, thanks a lot @bassosimone :D |
ping! (excuse the pun) is there any prospect of this feature being implemented? @bassosimone did anything come from your implementatin/evaluation? I'm also interested in having this feature (application level latency-only test) available. |
FYI: @mattmathis in case you have thoughts. |
Hi everyone,
Is there a way to measure latency on ndt7 servers? So far I can only get results like this one:
and while the ICMP protocol works on
mlab1-bom02.mlab-oti.measurement-lab.org
it's not something that I can use in a Javascript client where only HTTP/HTTPS/Websocket is accepted. It'd be great if it can be measured through the WebSocket on the client side since that would allow the client to also measure the jitter. So far I came up with a hacky solution of using thewss:///ndt/v7/upload
to upload 1 bit of data, wait for the response and measure the time between the two, then divide by 2. It's working "okay" relative to what I get with aping
command but sometimes it's completely not accurate.Thanks!
The text was updated successfully, but these errors were encountered: