Location>code7788 >text

Principles and Practice of Process Engines open source ebook

Popularity:395 ℃/2024-10-27 09:59:55
China's first open source e-book to introduce the core technology system of workflow from an engineering perspective I. Introduces the development history of the process engine , application scenarios and the content and structural arrangement of the book , and then elaborates on the process modeling and parsing of the relevant knowledge , including an overview of the development of the process modeling language , process modeling , life cycle , and parsing of the process model and other content . Second, it mainly describes the implementation of the process engine, including the core components of the process engine, the event-driven mechanism, the core table structure and interface design, the design of the permissions system, and distributed Crontab task scheduling. Third, it mainly includes process analysis, cloud-native workflow and multi-engine distributed system implementation.

Principles and Practice of Process Engines

Part I: Process Engine Basics

1 introductory

1.1 Process Engine Introduction

1.2 Process Engine Technology History

1.3 Domestic and international development status of related products

1.4 Content and organization of the book

2 conceptual

2.1 basic concept

2.2 Advanced Concepts

3 Process modeling and parsing

3.1 Overview of Process Modeling Language Development

3.2 Process Modeling

3.2.1 Process Definition

3.2.2 Event Node Definition

3.2.3 Task node definition

3.2.4 Definition of a gateway node

3.3 life cycle

3.3.1 Life cycle of a task

3.3.2 Process life cycle

3.4 Analysis of process models

3.5 Comparison with BPMN

Part II: Process Engine Implementation

4 Core Components of the Process Engine

4.1 WFMC Workflow Reference Model

4.2 Task scheduling mechanism

4.2.1 Principles and Practice of DAG Scheduling Algorithm

4.2.2 Open source Airflow DAG scheduling algorithm analysis

4.2.3 Principles and Practice of FSM Scheduling Algorithms

4.2.4 Open source OSWorkflow FSM scheduling algorithm analysis

4.2.5 Petri net scheduling algorithm principle and practice

4.2.6 Open source YAWL Petri net scheduling algorithm dissection

4.3 Workflow mode - control flow mode

4.4 Resource dispatch mechanism -- resource model

4.5 Data management mechanisms -- data model

4.6 Exception Handling Mechanism - Exception Handling Model

4.7 Engine execution mode

5 event-driven mechanism

6 Core table structure and interface design

7 Permission system design

7.1 ACL authority model

7.2 RBAC privilege model

7.3 ABAC authority model

7.4 PERM Competency Model

7.5 Casbin framework application practice

7.5.1 Casbin's ACL implementation

7.5.2 Casbin's RBAC implementation

7.5.3 Casbin's ABAC implementation

7.5.4 Casbin Integrated Practice

8 Distributed Crontab Task Scheduling

8.1 Introduction to Crontab Expressions

8.2 Basic operation of etcd

8.3 master-worker architecture

8.4 Best Practices in Task Design

Part III: Process Engine Advance

9 Process Analysis

9.1 Pre-operation process structure analysis

9.2 Analysis of running process logs

9.3 Post-operation historical data analysis

10 Cloud Native Workflow

10.1 Deploying workflow principles on k8s

10.2 Principles of running workflow tasks on k8s

10.3 Comprehensive practice of running workflow tasks on k8s

11 Multi-Engine Distributed System Implementation

11.1 system architecture

11.2 Fundamental Theory of Distributed Systems

11.3 Database Architecture and Optimization

11.4 Global Unique ID Generator

11.5 caching technology

11.6 asynchronization technology

11.7 Pooling technology

11.8 Linux Parameter Optimization

11.9 Current limitation

11.10 Degradation and fusion

11.11 Failover

11.12 Distributed Locks