Parallel Agent-as-a-Service (P-AaaS) Based Geospatial Service in the Cloud

Xicheng Tan, Song Guo, Liping Di, Meixia Deng, Fang Huang, Xinyue Ye, Ziheng Sun, Weishu Gong, Zongyao Sha, Shaoming PanRemote 2017 · DOI

TL;DR

This paper introduces Parallel Agent-as-a-Service (P-AaaS), a novel cloud-based geospatial service framework designed to overcome the performance limitations of existing Agent-as-a-Service (AaaS) methods, particularly under high concurrent request loads. By integrating parallel computing and dynamic resource scaling, P-AaaS significantly enhances efficiency and responsiveness for critical applications like flood response decision-making systems.

What Problem Does This Paper Address?

Traditional geospatial services, often built on Service Oriented Architecture (SOA), suffer from static configurations and inefficient data transfer, leading to performance bottlenecks and instability, especially when chaining multiple services. While Agent-as-a-Service (AaaS) offered improvements by enabling agent migration and avoiding large data transfers, it still faced challenges with low performance and limited concurrent processing capabilities, particularly in demanding scenarios like emergency response. The core problem this paper tackles is the need for a more scalable, efficient, and dynamically adaptable geospatial service framework that can handle a high volume of concurrent requests without sacrificing performance, especially when dealing with large geospatial datasets.

Methods

The paper proposes a Parallel Agent-as-a-Service (P-AaaS) approach that builds upon the existing AaaS infrastructure. The key innovations include:

  • Parallel Geocomputing Mechanism: Instead of sequential processing, P-AaaS leverages the Message Passing Interface (MPI) standard (specifically MPICH) to enable parallel execution of geospatial tasks across multiple virtual machines (VMs) within a cloud cluster. Agents are transformed into parallel WPS services.
  • Dynamic Resource Adjustment: A Geocomputing Environment Controller (GEC) is introduced, comprising a Resource Monitor (RM) and a Resource Adjustor (RA). The RM tracks real-time performance metrics (CPU, RAM, network usage), and the RA dynamically scales the cloud resources (launching or terminating VMs) based on the number of concurrent requests and predefined performance requirement levels. This ensures optimal resource utilization and cost-effectiveness.
  • Service Chain Execution Redesign: The execution mechanism for P-AaaS based geospatial service chains is optimized to support parallel processing. It determines if a service can be executed in parallel and then initiates parallel geoprocessing when resources are available.

Datasets

The paper utilizes a flood response model as a case study. While specific datasets are not explicitly listed as being introduced or benchmarked, the model involves processing various geospatial data types, including:

  • Flood Level Data
  • 1m DEM (Digital Elevation Model)
  • Topographic Maps
  • Transportation and Road Data
  • Population and Economic Statistics Data
  • Landsat TM multispectral remote sensing data
  • Agricultural multispectral sample library

The distribution of these agents and data across different cloud nodes is detailed in Table 1.

Key Insights and Ideas

  • Parallelism is Key for Concurrency: The most significant insight is that for geospatial services dealing with high concurrency, parallel processing is not just an optimization but a necessity to achieve acceptable performance. Simply improving sequential AaaS is insufficient.
  • Dynamic Resource Scaling is Crucial for Efficiency and Cost: The ability to dynamically adjust cloud resources based on demand is a game-changer. It allows the system to be performant when needed and cost-effective when demand is low, making high-performance geospatial services more accessible.
  • Data Acquisition Remains a Bottleneck: Despite advancements in processing, the paper highlights that data acquisition (IO performance of data servers, WFS/WCS) remains a dominant factor in overall execution time, especially under high concurrency. This points to future research directions.
  • Performance Adjustability for Diverse Needs: The P-AaaS system's ability to adjust performance levels allows it to cater to a wide range of applications, from time-critical emergency responses to less urgent scientific analyses, optimizing resource usage accordingly.

Key Results

  • Dramatic Performance Improvement: Under high concurrent request scenarios (e.g., 60 requests), P-AaaS significantly outperforms AaaS. For 60 concurrent requests, AaaS execution time exceeded 50 hours, while P-AaaS took approximately 5.8 hours.
  • Scalability with Concurrent Requests: P-AaaS execution time increases much more gracefully with an increasing number of concurrent requests compared to AaaS. For 15 concurrent requests, P-AaaS took ~2.66 hours, while for 60 requests, it was ~5.8 hours.
  • Performance Adjustability Demonstrated: By adjusting the performance requirement level (from 1 to 5), the system's execution time can be significantly altered. For 30 concurrent requests, execution time dropped from 4.3 hours (Level 1) to 2.5 hours (Level 5), showcasing its adaptability.
  • Resource Efficiency: Figure 10 illustrates how P-AaaS dynamically scales computing resources (CPU and RAM) based on the number of requests and performance levels, leading to more efficient resource utilization compared to a static approach.

Limitations and Future Work

  • Not All Tasks Parallelized: The paper acknowledges that not all agents or tasks were parallelized, with decisions made empirically. Future work aims to develop more systematic methods for identifying which agents should be parallelized.
  • Data Acquisition Bottleneck: The authors explicitly state that data acquisition time is still a dominant factor and requires further optimization. Future work will focus on scaling data servers using big data processing methods (HDFS, NoSQL) to improve data acquisition performance.
  • Agent Management and Description: For wider adoption, more effort is needed in managing and describing agents, and developing automatic rules for choosing between parallel and sequential agents.
  • Generalization to Other Scenarios: While the P-AaaS method is built on OWS specifications and transferable to other cloud platforms, generalizing it to diverse scenarios like earthquakes or tsunamis requires building specific parallel agents and service chains.

Summary updated

Abstract

To optimize the efficiency of the geospatial service in the flood response decision making system, a Parallel Agent-as-a-Service (P-AaaS) method is proposed and implemented in the cloud. The prototype system and comparisons demonstrate the advantages of our approach over existing methods. The P-AaaS method includes both parallel architecture and a mechanism for adjusting the computational resources—the parallel geocomputing mechanism of the P-AaaS method used to execute a geospatial service and the execution algorithm of the P-AaaS based geospatial service chain, respectively. The P-AaaS based method has the following merits: (1) it inherits the advantages of the AaaS-based method (i.e., avoiding transfer of large volumes of remote sensing data or raster terrain data, agent migration, and intelligent conversion into services to improve domain expert collaboration); (2) it optimizes the low performance and the concurrent geoprocessing capability of the AaaS-based method, which is critical for special applications (e.g., highly concurrent applications and emergency response applications); and (3) it adjusts the computing resources dynamically according to the number and the performance requirements of concurrent requests, which allows the geospatial service chain to support a large number of concurrent requests by scaling up the cloud-based clusters in use and optimizes computing resources and costs by reducing the number of virtual machines (VMs) when the number of requests decreases.
BibTeX
@inproceedings{tan2017parallel,
  author = {Xicheng Tan and Song Guo and Liping Di and Meixia Deng and Fang Huang and Xinyue Ye and Ziheng Sun and Weishu Gong and Zongyao Sha and Shaoming Pan},
  title = {{Parallel Agent-as-a-Service (P-AaaS) Based Geospatial Service in the Cloud}},
  booktitle = {Remote},
  year = {2017},
  doi = {10.3390/rs9040382},
}
Figure