Question
Capgemini
BR
Last activity: 31 Mar 2025 9:12 EDT
How can I optimize cache usage on the platform?
To optimize the cache of my applications, where I have a production environment with around 40 applications on the Pega platform, could I use the following configurations set to True?
Procedure :
1. prconfig/initialization/declarepages/preloaddeclarepagedefinitioncache/default
· Objective: This setting controls the preloading of the declarative page definition cache during the initialization of the Pega platform.
· Benefits:
· Performance Improvement: Preloading the cache can reduce the initial response time when accessing declarative pages, as the definitions will already be loaded into memory.
· Efficiency: It can help avoid delays the first time a declarative page is accessed, improving the user experience.
· Points of Attention:
To optimize the cache of my applications, where I have a production environment with around 40 applications on the Pega platform, could I use the following configurations set to True?
Procedure :
1. prconfig/initialization/declarepages/preloaddeclarepagedefinitioncache/default
· Objective: This setting controls the preloading of the declarative page definition cache during the initialization of the Pega platform.
· Benefits:
· Performance Improvement: Preloading the cache can reduce the initial response time when accessing declarative pages, as the definitions will already be loaded into memory.
· Efficiency: It can help avoid delays the first time a declarative page is accessed, improving the user experience.
· Points of Attention:
· Memory Usage: Preloading the cache can increase memory usage during initialization, which can be an issue in resource-limited environments.
· Proper Configuration: It is important to adjust this setting based on the specific needs of the environment and the number of declarative pages used.
2. prconfig/initialization/rebuildlocalcachesonnodestart/default
· Objective: This setting controls the rebuilding of local caches when a node in the Pega platform is started.
· Benefits:
· Data Update: Ensures that local caches are updated with the latest information, avoiding data inconsistency issues.
· Performance: Can improve performance by ensuring that the cached data is the most recent and relevant.
· Points of Attention:
· Startup Time: Rebuilding local caches can increase the node's startup time, especially in environments with large volumes of data.
· System Impact: It is important to monitor the impact of this setting on the overall system performance and adjust as necessary.
These settings can be adjusted in the prconfig.xml file or as instances of Dynamic System Settings in the Pega platform.
This procedure can help me to improve use of cache for my apps.
Regards,
Valiño
@GuiValino1984
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
For the settings you're considering:
1. prconfig/initialization/declarepages/preloaddeclarepagedefinitioncache/default
This setting controls preloading the declarative page definition cache (now referred to as data pages in newer Pega versions) during platform initialization. Based on your environment with 40 applications, setting this to True could be beneficial with some considerations:
2. prconfig/initialization/rebuildlocalcachesonnodestart/default
This setting controls rebuilding local caches when a node starts. For your multi-application environment:
@GuiValino1984
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
For the settings you're considering:
1. prconfig/initialization/declarepages/preloaddeclarepagedefinitioncache/default
This setting controls preloading the declarative page definition cache (now referred to as data pages in newer Pega versions) during platform initialization. Based on your environment with 40 applications, setting this to True could be beneficial with some considerations:
2. prconfig/initialization/rebuildlocalcachesonnodestart/default
This setting controls rebuilding local caches when a node starts. For your multi-application environment:
Recommendations for Your Environment:
These recommendations should help you optimize cache usage while maintaining system stability in your production environment. If you decide to implement these changes, I'd recommend documenting the before and after performance metrics to quantify the improvements.
References: