Location, Location, Location: Data-Intensive Distributed Computing in the Cloud

Michael Luckeneder, Adam Barker

Introduction

Orchestrating distributed, data-intensive scientific workflows from a local machine often creates severe network bottlenecks. As research increasingly relies on geographically dispersed web services, the physical location of the control plane—the workflow orchestrator—becomes a critical factor in overall performance. This paper introduces CloudForecast, a pre-deployment analysis tool designed to determine the optimal Amazon EC2 region for hosting a workflow orchestrator. By evaluating geographical distance, network latency, and HTTP round-trip time (RTT), CloudForecast allows researchers to migrate their orchestrator to the cloud region that minimizes execution time. Experimental results demonstrate that this migration can slash execution times by an average of 82% while significantly improving performance stability.

The Orchestration Bottleneck

Scientific workflows are frequently structured as Directed Acyclic Graphs (DAGs) that chain together multiple geographically distributed services. For instance, a workflow might ingest data from a server in Europe, process it on a high-performance node in Canada, and finally store the results in a repository in the United States.

Traditionally, the "orchestrator"—the engine that manages the sequence of these tasks—runs locally on a researcher's machine within a university or corporate network. For data-intensive tasks, this creates a "trombone routing" effect: massive amounts of data must travel from a remote source to the local orchestrator, only to be sent back out to the next remote service in the chain. This unnecessary data movement severely degrades performance.

A distributed workflow where an orchestrator manages data flow between services, illustrating the potential for network bottlenecks.

While moving the orchestrator to an Infrastructure-as-a-Service (IaaS) cloud is a known solution, it introduces a new challenge: if the workflow services are spread globally, which specific cloud region (e.g., US-East vs. EU-West) will yield the best performance? CloudForecast addresses this by providing a data-driven recommendation before deployment.

CloudForecast: A Pre-Deployment Analysis Tool

The authors developed CloudForecast as an open-source Python tool that dynamically evaluates and ranks cloud regions. Rather than relying on simple heuristics, CloudForecast follows a three-stage analysis process:

  1. Preliminary Ranking: The tool calculates the geographical distance between candidate cloud regions and the workflow's web service nodes using an IP-to-location API.
  2. Active Metric Gathering: To optimize analysis time, CloudForecast selects the top n geographically closest regions and temporarily provisions lightweight EC2 instances (e.g., t1.micro) in those locations. From these instances, it actively measures network latency using ICMP ping and application-layer latency using HTTP RTT via curl to the workflow nodes.
  3. Scoring: A final score for each region is calculated by averaging the ping and HTTP RTT metrics. The region with the lowest aggregate score is recommended for deployment.

Experimental Evaluation

To test the efficacy of CloudForecast, the authors utilized a live testing framework involving PlanetLab (a global research network) and Amazon EC2. They generated nine DAG workflows ranging from 2 to 13 nodes to simulate realistic scientific applications. Six reliable PlanetLab nodes across North America and Europe acted as web services, with wikimedia.org serving as the initial data source. Eight different Amazon EC2 regions were evaluated as potential hosting sites for the orchestrator.

Example of measured network latencies between an AWS region (us-east-1) and distributed web service nodes like Princeton and SFU.

Key Results and Performance Gains

The deployment of CloudForecast yielded several significant insights:

  • Massive Speedups: Workflows orchestrated in the top-ranked EC2 region saw an average execution time speedup of 82.25% compared to local execution. Depending on the specific topology, individual speedups reached as high as 188%.
  • Improved Predictability: Beyond raw speed, stability was a major benefit. The standard deviation of execution time dropped by approximately 65% when using the optimal cloud region. Bypassing local university network gateways reduced the variance caused by local traffic congestion.
  • Algorithm Accuracy: The tool's multi-metric ranking proved essential. Deploying to the second-ranked region only offered a 21.53% average speedup, confirming that identifying the true optimal region is vital for maximizing performance.
  • Analysis Overhead: The entire CloudForecast analysis process takes roughly 400 seconds. While this is an upfront cost, it is easily amortized for workflows that are executed repeatedly.

Discussion and Future Directions

CloudForecast demonstrates that the "middleman" bottleneck in distributed workflows is a significant but solvable problem. By relocating the control plane closer to the data plane, researchers can achieve massive dividends without needing to modify the underlying web services.

However, the tool is currently best suited for long-running or recurring workflows due to the 7-minute analysis overhead. Future work aims to incorporate cloud cost forecasting to balance execution time with financial constraints, as well as factoring in real-time web service load and network throughput (bandwidth) to further refine the ranking metrics.

Summary updated

BibTeX
@inproceedings{luckeneder2013location,
  author = {Michael Luckeneder and Adam Barker},
  title = {{Location, Location, Location: Data-Intensive Distributed Computing in the Cloud}},
  booktitle = {CloudCom},
  year = {2013},
  doi = {10.1109/cloudcom.2013.91},
}
Figure