Question

Bradesco Seguros
BR
Last activity: 14 Mar 2025 16:23 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