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.
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:
- Pipeline Pattern: Linear processing (A -> B -> C).
- Data Aggregation Pattern: Multiple sources feeding a single processor.
- 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.
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