Abstract
Traditional Web service composition relies on centralized orchestrators, leading to performance bottlenecks and single points of failure. This paper presents a decentralized framework utilizing autonomous software agents to manage Business Process Execution Language (BPEL) processes. By decomposing global workflows into localized sub-processes managed by distributed agents, the system enhances scalability and fault tolerance while reducing network latency.
Introduction
In Service-Oriented Computing (SOC), the industry standard for combining multiple Web services into a single workflow is BPEL. Traditionally, these workflows are managed by a single, centralized server. This "hub-and-spoke" model creates several critical issues:
- Performance Bottlenecks: All interactions and intermediate data must pass through one server.
- Reliability Risks: A central server failure halts the entire business process.
- Scalability Limits: Physical limits of a single server restrict concurrent process handling.
The proposed framework aims to solve these by distributing the management logic across the network, closer to where the actual services reside.
The Decentralized Framework
The authors introduce an agent-based decentralized framework consisting of three specialized types of software agents that operate atop the physical Web Service (WS) layer.
- Initialising Agents: These act as the entry point. They take a global BPEL file, decompose it into sub-processes using the "Symphony" strategy, and distribute these pieces to the relevant nodes.
- Peer Agents: These are the primary execution units. Each peer agent hosts its own BPEL engine and manages the execution of a specific sub-process, communicating directly with other peers to coordinate the workflow.
- Monitoring Agents: These agents subscribe to data from peer agents to track the overall state of the execution and ensure non-functional parameters (like response time) are met.
Peer Agent Architecture
The Peer agent is the core component of the decentralized system. It wraps a standard BPEL engine within an autonomous agent shell, allowing for industry-standard execution with the benefits of agent-based coordination.
As shown in the architecture, the Peer agent includes several key modules:
- Process Management: Handles the lifecycle and execution logic of the assigned BPEL sub-process.
- Peer & Process Repositories: Store information about available service providers and process definitions, enabling local decision-making.
- BPEL Engine (Server Jetty): Executes the actual logic of the Web service composition.
- FIPA-ACL Interface: Facilitates communication with other peers using the Agent Communication Language standard.
Key Technical Insights
- Localization of Data: By placing the peer agent near the Web service it manages, the framework minimizes the distance data must travel, which is crucial for data-intensive applications.
- Autonomous Error Recovery: Peer agents maintain a repository of alternative service providers. If a specific service fails, the agent can autonomously reroute the request to a compatible backup locally, rather than reporting a failure back to a central coordinator.
- Decomposition Strategy: The system breaks a global process into logical partitions. Activities like
receiveandreplystay with the initialising agent, whileinvokeactivities are moved to peer agents co-located with the target Web services.
Conclusion and Future Work
The primary result of this research is the functional design of a system capable of automated BPEL decomposition and peer-to-peer coordination. While the current work focuses on architectural design, future research will involve empirical validation to quantify speedup and reliability improvements against centralized engines, as well as implementing dynamic Service Level Agreement (SLA) negotiation.
Summary updated