In this post we introduce a wiki to document RIPE Atlas measurements better. We use the measurements we created to track RPKI Repository Performance to show how this is useful.
Over the past 10 years, RIPE Atlas has become an important tool in the toolbox of Internet network operators, network researchers and anybody interested in getting insights on Internet performance. In RIPE Atlas, you specify a measurement as a set of vantage points (sources) towards a single destination. You can also specify things like the type of measurement (ping, traceroute, etc.), the address family (IPv4 or IPv6), and whether you want measurement results once (so called 'one-off' measurements) or periodically. Once you submit your specification to the RIPE Atlas system (and have enough RIPE Atlas credits!), you get assigned a measurement ID, by which you can find the results of the measurements taken.
This fits very well in the paradigm of measuring a single server periodically from multiple sources, but what if the purpose of your measurement can't be captured in such a measurement specification?
To measure more complex things than a single IP endpoint from multiple sources, you typically have to resort to creating multiple measurement specifications. This means your results come spread across multiple measurement IDs, and this can get complex fairly quickly, as you need to keep track of how those different results fit together. And this is even more difficult for others, looking at the same thing as you are looking at, to figure out your measurement results.
One solution we have for this is that you can tag related measurements with measurement tags, so others can find related measurements. But as handy as this can be, I've found it doesn't always do the trick. What I noticed is that when you do something a little bit more complex than setting up a few sources to target a single destination, you have to create many measurement specifications in RIPE Atlas, and there's no place to write down what you did and why so that others can benefit from what you did and maybe learn from and/or correct mistakes you made.
So - we're trying out a solution for this! We've populated part of our public github pages with a wiki for RIPE Atlas tips and tricks. Part of this wiki is dedicated to what we call measurement bundles. These can be best defined as one or more RIPE Atlas measurement specifications together with a description of what you intended to measure and how you did that. It might also include code, measurement IDs, your reasoning behind particular choices on how you measure, or who is running these measurements (so others can contribute credits!).
RIPE Atlas measurement bundles
An Example of a Measurement Bundle: Measuring RPKI Repositories with RIPE Atlas
In a collaboration between NLNetLabs and the RIPE NCC, we are measuring RPKI repositories with RIPE Atlas. NLNetLabs is using these in the JDR RPKI portal. The RIPE Atlas data that is being used is free to access and use by anybody who is interested in the performance of RPKI repositories. Details on how this is measured, the code that generates the measurement specifications, and a list of measurement IDs are all documented in the measurement bundle wiki page for this. Awesome, no?
As an example of how this information is useful, we analysed the RPKI RRDP repository that the RIPE NCC hosts in the cloud. Immediately after we started measuring the latency from RIPE Atlas anchors around the world, we noticed that latencies from North American and European RIPE Atlas anchors were very low, while the rest of the world had much higher latencies (see figure 1).
Figure 1: Latencies to rrdp.ripe.net from RIPE Atlas Anchors on 13 Jan 2021 9:30 UTC. Green is low latencies, red is high latencies.
After showing this to the RIPE NCC RPKI team, they re-evaluated the cost-benefit of this particular aspect of the RRDP cloud deployment, and adjusted the settings. Now the latency from other parts of the world towards the RPKI RRDP repository is significantly lower (see figure 2).
Figure 2: Latencies to rrdp.ripe.net from RIPE Atlas Anchors 13 Jan 2021 10:30 UTC. Green is low latencies, red is high latencies.
JDR aggregates the most recent measurement results from all the anchors to find possible network related issues, indicated by an icon to the left of a repository name (see Figure 3). The tooltip reveals which of the measured protocols (rsync or RRDP, over IPv6 or IPv4) are responding with either extraordinary high RTTs, or do not respond at all. In the particular case shown in Figure 3, we contacted the repository owner, and found out that the high RTTs in IPv6 were due to both a bug and the setup being experimental.
Figure 3: Screenshot of the JDR web interface, showing how it integrates results from the RIPE Atlas RPKI measurements bundle
But this is not the only thing one can do with this data. For instance, one can think of a per RIPE Atlas anchor report on latencies to the public RPKI repositories on the Internet. We'd be happy to hear others make use of this data.
There are plenty of examples of RIPE Atlas measurements that are set up that would benefit from better documentation, so we started documenting some. A couple of examples:
- Measuring DNS resolvers with RIPE Atlas - this is also known as the DNSThought project, that originated at the DNS hackathon that the RIPE NCC organised back in 2017.
- Topology measurements - this is a type of built-in measurement that is documented, but I found that only after explaining it a bit more, people tend to start to see the value of this. Especially for researchers, this is a treasure trove that many found particularly useful once they discovered it.
... but there is way more already! If you have done measurements with RIPE Atlas that you think are useful to document this way, we invite you to do so. It's a wiki, so you should be able to edit, and add useful documentation there. Please, try it out!
Comments, questions, tomatoes, or flowers, please leave them below!
Comments are disabled on articles published more than a year ago. If you'd like to inform us of any issues, please reach out to us via the contact form here.