TL;DR
This paper argues that traditional network-level probes like ICMP are insufficient for accurately measuring cloud service availability. By comparing ICMP with application-level HTTP probes, they demonstrate that ICMP can both overestimate and underestimate cloud outages, leading to a distorted view of reliability. The authors advocate for end-to-end, application-level measurements to gain a precise understanding of cloud availability.
What Problem Does This Paper Address?
As more critical applications and services migrate to the cloud, understanding their availability becomes paramount. While network outages are a concern, the reliability of cloud infrastructure is a complex issue. Existing studies on Internet availability often rely on ICMP-based probes (like pings and traceroutes). However, the authors hypothesize that these methods, while useful for general network diagnostics, may not be suitable for the nuances of cloud services. Cloud architectures involve sophisticated front-ends and back-ends, and ICMP probes might only reach the edge, missing internal failures. Conversely, ICMP's robustness issues could lead to false positives, overestimating outages. This paper aims to bridge this gap by systematically evaluating the accuracy of ICMP versus application-level probes for measuring cloud availability.
Methods
The researchers employ a dual-probe methodology:
- ICMP Probes: These operate at the network level, sending ICMP echo requests to targets. A successful response is considered positive, while a lack of response or an error code is negative.
- HTTP Probes: These operate at the application level, using
curlto retrieve a small file over HTTP. A 200 OK status code is considered a success; any other status code or acurlerror indicates a failure.
To account for transient network issues, both ICMP and HTTP probes are configured with retries. For ICMP, they initially perform retries only if HTTP probes fail, but later datasets include ICMP retries by default. For HTTP, they leverage both kernel-level TCP retransmissions and application-level retries.
To mitigate issues caused by problems near the vantage points (VPs), they use two control sites (at USC/ISI and the University of Washington) and discard cloud measurements if these control sites are unavailable.
Datasets
The paper introduces four datasets collected from various vantage points:
- Dataset 1: 33 days of measurements for Amazon VMs and storage services, starting March 11, 2013.
- Dataset 2: 33 days of measurements for Amazon VMs and storage services, starting March 11, 2013. (Note: The paper lists this twice, likely a typo, and refers to it as "VMs (2013-03-11+33)" and "storage (2013-03-11+33)").
- Dataset 3: 17 days of measurements for Amazon VMs, starting June 18, 2013.
- Dataset 4: 75 days of measurements for storage services (Amazon, Google, Microsoft), starting June 18, 2013.
These datasets were collected from 23 to 54 vantage points, chosen from universities worldwide to minimize cloud costs while ensuring broad coverage.
Key Insights and Ideas
- ICMP's Double-Edged Sword: ICMP probes can both underestimate cloud availability (by failing to detect back-end failures) and overestimate availability (by reporting outages due to network issues that don't affect the actual service).
- The Importance of Application-Level Probes: HTTP probes, by reaching deeper into the service stack, provide a more accurate picture of end-to-end availability. They are essential for detecting failures within the cloud's complex infrastructure.
- Retries are Crucial: Random packet loss, even at low rates, can lead to false outage reports if not handled. The paper shows that a few retries significantly reduce the probability of falsely inferring an outage. For ICMP, around 5-6 retries are beneficial, while HTTP benefits from both kernel-level and application-level retries.
- Disagreement is Informative: While ICMP and HTTP probes often agree, the instances where they disagree highlight specific failure modes. ICMP failures with HTTP success often point to network-level filtering or routing issues affecting ICMP. HTTP failures with ICMP success can indicate problems with load balancers or other edge components that ICMP might bypass.
- Storage vs. VMs: Probing storage services reveals different failure patterns than VMs. Storage services often rely on DNS for routing requests to back-end systems, making DNS lookup failures a significant cause of reported outages, whereas VM failures are more commonly due to TCP connection setup issues.
Key Results
- High Agreement, But Critical Disagreements: ICMP and HTTP probes agree in the vast majority of measurement rounds (over 97%). However, the disagreements, though infrequent (0.01% to 3%), are critical for understanding cloud availability.
- ICMP Over-counting Outages: In several case studies, ICMP reported outages that HTTP did not, indicating that ICMP was affected by network issues (e.g., filtering on the return path) that did not impact the actual service's availability.
- ICMP Under-counting Outages: The paper presents an example of an Amazon S3 outage in Tokyo that was detected by HTTP probes but missed by ICMP, demonstrating ICMP's inability to see into the storage back-end.
- Retries Mitigate False Outages: With 1% packet loss, using only one probe (k=1) results in a ~1% false outage rate. With 3 retries, this drops to ~10^-5 (five nines of availability).
Limitations and Future Work
- Control Site Dependency: The reliance on control sites means that if a control site itself experiences an outage, it can mask actual cloud outages.
- Cost of Probing: The paper acknowledges that application-level probes incur costs for provisioning and accessing cloud resources, which can limit the scale of measurements.
- Future Work: The authors suggest that their work provides motivation for a longer-term study of cloud availability. They also aim to understand cloud availability to deploy highly-available systems cost-effectively across various cloud providers. Further investigation into correlating web service outages with underlying cloud service outages is also suggested.
Summary updated