caishunfeng opened a new issue #6963: URL: https://github.com/apache/dolphinscheduler/issues/6963
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement. ### 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: - [ ] add the cache switch, it can be controlled by user freely. If false, the cache will not effect - [ ] cache expire config, it will decide how long the cache will last - [ ] cache annotation, which can be use easily, and it's helpful to manage the unified cache logic - [ ] cache hit rate statistics - [ ] cache update notify, now is from api-server ### Use case _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
