[Paper Review] Cloud Process Execution Engine: Architecture and Interfaces
This paper presents the Cloud Process Execution Engine (CPEE.org), a radically distributed, open-source process execution engine that uses transpilation and REST/SSE-based event streaming to enable scalable, low-code BPMN execution across cloud, edge, and IoT environments. Its modular, service-oriented architecture supports real-time monitoring, dynamic instance adaptation, and seamless integration with external services via minimal interfaces.
Process Execution Engines are a vital part of Business Process Management (BPM) and Manufacturing Orchestration Management (MOM), as they allow the business or manufacturing logic (expressed in a graphical notation such as BPMN) to be executed. This execution drives and supervises all interactions between humans, machines, software, and the environment. If done right, this will lead to a highly flexible, low-code, and easy to maintain solution, that allows for ad-hoc changes and functional evolution, as well as delivering a wealth of data for data-science applications. The Cloud Process Execution Engine CPEE.org implements a radically distributed scale-out architecture, together with a minimal set of interfaces, to allow for the simplest possible integration with existing services, machines, and existing data-analysis tools. Its open-source components can serve as a blueprint for future development of commercial solutions, and serves as a proven testbed for academic research, teaching, and industrial application since 2008. In this paper we present the architecture, interfaces that make CPEE.org possible, as well as discuss different lifecycle models utilized during execution to provide overarching support for a wide range of data-analysis tasks.
Motivation & Objective
- To design a highly scalable, distributed process execution engine that supports real-time monitoring, dynamic instance adaptation, and seamless integration with external services.
- To enable low-code, model-based process execution using BPMN while maintaining modularity and extensibility for research and industrial use.
- To provide a production-ready, open-source platform that supports both centralized and federated deployment for edge and IoT workloads.
- To expose all internal components via standardized REST and SSE interfaces for teaching, research, and system inspection.
- To support lifecycle management, versioning, and self-healing mechanisms through external service integration without modifying the core engine.
Proposed method
- The CPEE.org engine uses a transpilation-based architecture, converting BPMN models into lower-level executable code to avoid per-instance interpreter overhead.
- It employs a Pub/Sub mechanism with Redis as an in-memory database to stream events, lifecycle states, and votes across distributed components.
- Internal services—Persistence Implementation (PI), Event Distribution (EDI), Vote Distribution (VDI), Callback End (CEI), and REST Service (RS)—are decoupled and communicate via event streams.
- The REST Service (RS) acts as the central control interface, forwarding all commands to the Pub/Sub system and supporting both HTTP push and Server-Sent Events (SSE) for real-time UI updates.
- The system supports two deployment models: distributed (clustered Redis, load-balanced instances) and federated (multiple independent PEs communicating via operation interface).
- All components are exposed via standardized REST and SSE interfaces, enabling external services to extend functionality without modifying the engine core.
Experimental results
Research questions
- RQ1How can a process execution engine be architected to support scale-out, distributed execution while maintaining low-latency and high availability?
- RQ2What architectural patterns enable seamless integration of external services (e.g., data analytics, human tasks) without requiring deep engine modifications?
- RQ3How can real-time monitoring and lifecycle management of process instances be achieved in a decentralized, event-driven system?
- RQ4To what extent can a process engine support ad-hoc instance changes, model versioning, and self-healing through external service composition?
- RQ5What are the implications of using transpilation over interpretation for performance and memory efficiency in large-scale process execution?
Key findings
- The transpilation-based architecture eliminates per-instance interpreter overhead, significantly reducing memory consumption compared to traditional interpreter-based engines.
- The use of Redis as a shared in-memory database enables efficient, low-latency event distribution and state synchronization across distributed nodes.
- The event-driven, service-oriented design allows for dynamic, real-time monitoring of process instances through SSE-based UIs, with updates delivered as events are published.
- The system supports both centralized and federated deployment, enabling use in edge and IoT environments where multiple independent process engines can interoperate via standardized operation interfaces.
- The modular, interface-driven design allows for full extensibility: all BPMN semantics can be customized via external REST services without modifying the engine core.
- The platform has been actively maintained since 2008 and is used in both academic research and industrial applications, demonstrating long-term stability and practical scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.