Business rule performance
| Parameter | Cache | Description | Possible values |
|---|---|---|---|
BulkLoadRuleHeadByIdCacheEnabled |
Rule Head cache | Parameter determines whether PolicyCenter
populates the Rule Head cache with a single query to the database or multiple
queries. The Rule Head cache stores the RuleHead IDs for all business rules. |
|
PreloadBizRulesBeansCacheEnabled |
Rule Entities cache | Parameter determines whether PolicyCenter
populates the Rule Entities cache with a single query to the database or multiple
queries. The Rule Entities cache stores the entities that comprise the entire rule graph for all rule versions that can possibly execute in the application. |
|
Preloading the Rule Head cache at server start
It is possible to preload the Rule Head cache at server start. Guidewire enables this functionality by default in the base configuration by adding the following entry to file preload.txt:
gw.api.bizrules.startup.BizRulesPreloadActions#preloadRulesVersionsCache
To disable this functionality, either remove or comment out this line of code in the file.
Preloading the Rule Entities cache at server start
It is possible to preload the Rule Entities cache during server start. However, Guidewire disables this functionality by default in the base configuration. To enable this process, add the following method invocation to file preload.txt:
gw.api.bizrules.startup.BizRulesPreloadActions#preloadRulesBeansDataIntoCache
