How can we improve the efficiency of the workflow management system?
Keywords: Workflow Management System, workflow, BPM, execution efficiency, cache.
Ccflow improves the efficiency of business process system execution through the following methods.
Cache Mechanism
1. Under what circumstances does cache work?
There are several rules for caching data.
1. Data is frequently used, but not updated frequently. The data volume is not large.
Such as personnel, positions, and departments.
2. Data is often used in the same process. For example, a process performs operations on an object, which is often used by various methods.
For example, in the taxpayer process: taxpayer information \ land information in the land process.
3. the user's personal information, such as his position set and Department set .....
2. cache category.
Globally applied in applications, such as department, position, personnel, and persistent storage ing.
User-level. Applied in session. Personal information of an operator.
Temporary. Temporary applications are applied in various processes, and an operation disappears.
3. How does the cache work in the ccflow workflow engine?
1. When the system starts, a common data is automatically transferred
Global cache.
2. After a user logs on to the console, the user's positions and departments are collected in the user-level cache.
3. During system operation, most of the data has been processed and processed, greatly reducing the burden on the server.
Calculated in advance:
Pre-calculation is to calculate the computed attributes in advance during the process design. For example, the node location is an enumeration type, including the Start Node, intermediate node, and end node. Computing in the running process will consume server resources. If computing is well performed in the design phase, this overhead will be saved.
These pre-calculation involves multiple aspects, such as whether the form has details, whether there is a framework, and whether there are extended applications .....
XML data cache
After the system starts up, XML data is transferred to the cache for processing, saving a lot of Io operations.
Parameter execution:
More than 95% of SQL statements are executed using parameters. You can capture them using monitoring tools. Ccflow runs on the BP framework. All entity classes are stored in sqlcash. All update, delete, insert, and select operations are performed using parameters, the generated SQL is stored in the cache.