Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
72:cms_prefetch [2020/10/21 12:39]
Thomas Weinlein [CMS Prefetch Configuration]
72:cms_prefetch [2020/10/21 12:48] (current)
Thomas Weinlein [CMS Prefetch Configuration]
Line 25: Line 25:
 </​code>​ </​code>​
  
-A more detailed description of these properties can be found in the following ​table:+A more detailed description of these properties can be found in the following ​list:
  
-|==== Property ==== +  ​* **cms.prefetch.activated** 
- +      ​* ​In case no configuration management system is configured the prefetch service can be completely deactivated. 
-|==== Description ==== +      ​* ​Default: true 
- +  * **cms.cache.refreshIntervalInMinutes** 
-+      ​* ​A new prefetch run will be started after this period of time. (In case of a too short interval it will be delayed until the previous run has finished) 
-| \\ +      ​* ​Default: 60 
-   cms.prefetch.activated| \\ +  * **cms.prefetch.sleepMillisBetweenDocuments** 
-   ​In case no configuration management system is configured the prefetch service can be completely deactivated. ​\\ +      ​* ​In case the prefetch service produces too much CPU load on the Stages server or on the CMS, it can be forced to pause for some time. This will of course lead to longer running prefetches. 
-    \\ +      ​* ​Default: 0 
-   Default: true| +  * **cms.prefetch.workersCount** 
-| \\ +      ​* ​In case the prefetch does not finish its work within the specified referesh interval, the amount of worker threads utilized by the prefetch can be increased. This will lead to additional CPU load and load on the CMS. 
-   cms.cache.refreshIntervalInMinutes| \\ +      ​* ​Default: 1 
-   ​A new prefetch run will be started after this period of time. (In case of a too short interval it will be delayed until the previous run has finished) ​\\ +  * **cms.prefetch.strategy.class** 
-    \\ +      ​* ​Specifies the strategy implementation to use to update the document revision information. 
-   Default: 60| +      ​* ​Default: AllDocumentsStrategy 
-| \\ +  * **cms.prefetch.maxParallelTasks.<​CMSType>​** 
-   cms.prefetch.sleepMillisBetweenDocuments| \\ +      ​* ​Where <​CMSType>​ is the name of one of the CMS types specified by the cms-type Tag in the cms Section of config.xml. It will only be used by some of the available Strategies. E.g. CMSTypeStrategy. It can be used to restrict the amount of parallel tasks that work on the same type of CMS. 
-   ​In case the prefetch service produces too much CPU load on the Stages server or on the CMS, it can be forced to pause for some time. This will of course lead to longer running prefetches. ​\\ +      ​* ​Default: 1 
-    \\ +  * **cms.prefetch.initialStart.hourOfDay** 
-   Default: 0| +      ​* ​In case this property exists in config.xml, scheduling of the initial prefetch run will be delayed until the configured hour of the day. Valid values are (0-23). E.g. for 22 the first prefetch run will be delayed to 22:00. It has to be ensured that the Stages service is up and running at this timepoint. If this property does not exist the prefetch will start directly after starting the Stages service. 
-| \\ +      ​* ​Default: <not set; start immediatly>​
-   cms.prefetch.workersCount| \\ +
-   ​In case the prefetch does not finish its work within the specified referesh interval, the amount of worker threads utilized by the prefetch can be increased. This will lead to additional CPU load and load on the CMS. \\ +
-    \\ +
-   Default: 1| +
-| \\ +
-   cms.prefetch.strategy.class| \\ +
-   ​Specifies the strategy implementation to use to update the document revision information. ​\\ +
-    \\ +
-   Default: AllDocumentsStrategy| +
-| \\ +
-   cms.prefetch.maxParallelTasks.<​CMSType>​| \\ +
-   ​Where <​CMSType>​ is the name of one of the \\ +
-   CMS types specified by the cms-type Tag in the cms Section of config.xml. It will only be \\ +
-   used by some of the available Strategies. E.g. CMSTypeStrategy. It can be used to restrict the amount of parallel tasks that work on the same type of CMS. \\ +
-    \\ +
-   Default: 1| +
-| \\ +
-   cms.prefetch.initialStart.hourOfDay| \\ +
-   ​In case this property exists in config.xml, scheduling of the initial prefetch run will be delayed until the configured hour of the day. Valid values are (0-23). E.g. for 22 the first prefetch run will be delayed to 22:00. It has to be ensured that the Stages service is up and running at this timepoint. If this property does not exist the prefetch will start directly after starting the Stages service. ​\\ +
-    \\ +
-   Default: <not set; start immediatly>​|+
  
 === Strategies === === Strategies ===
Line 74: Line 53:
 The following prefetch strategies are currently available. The following prefetch strategies are currently available.
  
-//Classic all documents available//<​code>​+//Classic all documents available//
  
 +<​code>​
 class=AllDocumentsStrategy class=AllDocumentsStrategy
  
Line 83: Line 63:
  
 //Prefetch by CMS type strategy// //Prefetch by CMS type strategy//
 +
 <​code>​ <​code>​
 class=CMSTypeStrategy class=CMSTypeStrategy
Line 116: Line 97:
  
 The cache size has a fixed size but will be configurable from Version 7.4.6.1, 7.5.2.1 and above. The cache size has a fixed size but will be configurable from Version 7.4.6.1, 7.5.2.1 and above.
- 
-\\