How can we improve the efficiency of the workflow management system?

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.