Question
To do or not to do cache clear and node restart after Code deployment
Hi Team,
We’re a bit confused about the necessity of clearing various rule/assembly cache (disk/DB) after deployment in production. Can you please help us with the following scenarios?
Scenario 1: We deploy couple of minor application defect fixes in production environment.
Q:
1. Do we need to clear any of PRPC cache (memory/disk/DB)? If yes – in what particular scenario?
2. Do we even need to restart the production nodes? If yes – in what particular scenario?
Scenario 2: We deploy a major Release in production (changes done over 5+ sprints)
Q:
1. Do we need to clear any of PRPC cache (memory/disk/DB)? If yes – in what particular scenario?
2. Do we even need to restart the production nodes? If yes – in what particular scenario?
If there is guidebook that contains the do and don't for code deployment in production environment, please share.
For both the scenarios the answers to the questions will be similar.
Below point necessitate cache clearance
1. You're installing pega hotfix and as part of the installation procedure it is required to clear the cache.
Below are some of the points that necessitate restart
1. Specified as part of hotfix procedure.
2. Any changes to JVM arguments as part of the delivery.
3. Any changes to DSS which will take effect only after restart.
Many projects have it in their procedure to do a server restart post deployment due to cache issues faced in earlier versions as part of deployment in multi node environments.
Ideally server restart or cache clearance for just ruleset import or dB changes are not required.