SAP Knowledge Base Article - Public

3644584 - Performance impact after new code deployment

Symptom

After new CPQ Code Deployment a performance degradation has been noted every time an information is loaded by the first time.

Environment

SAP SALES CLOUD CPQ

Reproducing the Issue

  • After a code deployment open any page which contains customization
  • First time information is loaded, it can be noted a performance degradation
  • Second time same information is loaded it is noted that performance is normal.

Cause

Expected Behavior.

Resolution

  • CPQ supports extending custom templates. It is possible to override existing .cshtml files to create versions tailored to specific use cases
  • Once a template is created, it is stored in the CPQ database. Whenever a user tries to open a customized page (such as a quote or configurator), the system locates the corresponding template and attempts to render it
  • The cold start issue occurs only the first time a template is accessed as the .cshtml file requires some time to compile, and subsequent executions are faster
  • Since there are multiple instances, each one must experience its own cold start
  • The reason issue occurs more often during releases is that CPQ machines are stopped during the deployment process
    •  Every deployment causes a cold start when the application instance is accessed for the first time and hasn't been "warmed up" yet
  • Aside from these initial long requests, other requests perform normally, and no significant performance issues are present.

Keywords

Cold Start, Code Deployment, Release, Server Restart, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed

Product

SAP CPQ 2024