Search before asking
Description
Now when Master run a workflow, it will do many db select operation, such as processDefinition, taskDefinition, processTaskRelation, tenant, user, workGroup, project......
I think these data will not be changed easily, so if we can use cache instead of selecting from db, it will speed up the processing of workflow and improve performance.
function design:
- cache config for enable switch and other params like expire time, cache size.
- cache annotation, which can be use easily, and it's helpful to manage the unified cache logic -> use spring cache + caffeine
- cache hit rate statistics
- cache update notify, now is from api-server
sub-issue:
Use case
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Search before asking
Description
Now when Master run a workflow, it will do many db select operation, such as
processDefinition,taskDefinition,processTaskRelation,tenant,user,workGroup,project......I think these data will not be changed easily, so if we can use cache instead of selecting from db, it will speed up the processing of workflow and improve performance.
function design:
sub-issue:
Use case
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct