An Architecture for Decentralised Orchestration of Web Service Workflows

Ward Jaradat, Alan Dearle, Adam Barker

Introduction

In distributed systems, orchestration coordinates multiple web services to execute complex tasks. Traditionally, this follows a centralized "hub-and-spoke" model where a single master engine manages all interactions. However, as data sizes scale into the gigabyte and terabyte ranges, this model faces significant challenges, including bandwidth bottlenecks, performance degradation, and single points of failure. This paper proposes a decentralized architecture that partitions workflows into fragments, allowing execution to occur closer to data sources.

Proposed Architecture

The proposed system moves decision logic from a central hub into the network itself using two primary components: Orchestration Services and Proxy Services.

The proposed decentralized architecture, illustrating the interaction between Orchestration Services and Proxy Services.

Orchestration Services act as planners. They take workflows defined in a high-level dataflow language, analyze them, and partition them into smaller fragments. A compiler ensures logic correctness before deployment. Proxy Services serve as executors deployed near the web services. They receive fragments, invoke local services, manage state, and communicate directly with other proxies to pass data, eliminating the need for data to return to a central orchestrator.

Experimental Methodology

The architecture was evaluated using three common scientific data patterns:

  1. Pipeline Pattern: Linear processing (A -> B -> C).
  2. Data Aggregation Pattern: Multiple sources feeding a single processor.
  3. Data Distribution Pattern: One source feeding multiple processors.

Tests were conducted on Amazon EC2 instances with total data sizes ranging from 10MB to 50MB to assess scalability and performance under increasing loads.

Results and Analysis

The decentralized approach demonstrated superior performance across all tested patterns compared to traditional centralized orchestration.

Performance comparison between centralized and decentralized orchestration across Pipeline, Data Aggregation, and Data Distribution patterns.

Key performance metrics included:

  • Pipeline Pattern: 1.37x mean speedup.
  • Data Aggregation Pattern: 1.30x mean speedup.
  • Data Distribution Pattern: 1.41x mean speedup.

As shown in the results, the performance gap between the two models widens as data size increases, indicating that the decentralized model scales more gracefully for data-intensive applications.

Conclusion and Future Work

By decentralizing the "brain" of the workflow, this architecture reduces data travel distances and network congestion. Future research will focus on automated partitioning algorithms, dynamic resource optimization policies, and implementing robust security measures like information-flow policies to protect data in a decentralized environment.

Summary updated

BibTeX
@inproceedings{jaradat2013architecture,
  author = {Ward Jaradat and Alan Dearle and Adam Barker},
  title = {{An Architecture for Decentralised Orchestration of Web Service Workflows}},
  booktitle = {ICWS},
  year = {2013},
  doi = {10.1109/icws.2013.84},
}
Figure