Question
Macquarie Bank
AU
Last activity: 2 Jun 2023 7:42 EDT
Service REST Performance Issue
Hi All,
We have created a Service REST in Pega 8.5.2. We ran some performance testing before we move the code to PROD. during our testing we have identified some performance issues, as we can see some spikes in response time during the runs. Usually the expected response time is between 150-300 milliseconds.
But for few requests it is taking 1500-3500 milliseconds.
We are currently using LDAP authentication in the service package. When I tried to debug this, I have noticed that below steps took more time.
- com.pegarules.generated.activity.ra_action_authenticationldapverifycredentials_acbd1556cf6cf403197e19e3463b35ea.step2_circum0
- java.util.concurrent.locks.LockSupport.park
- com.pega.platform.executionengine.vtable.ruleres.VirtualTableCandidate.getExecutableContainerFor
- com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB$ClassDefinition.getElement
- om.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB$ClassDefinition:getElement Blocked on com.pega.pegarules.exec.internal.util.classloader.PRClassLoaderDB$ClassDefinition@3e7dd63d
I have changed it to Basic Authentication as well to see if any improvement in performance. But I am seeing more time is taking at this step now.
- com.pega.platform.securitycore.encryption.internal.EncryptionImpl.samePasswordAndUpgradeIfRequired
Can you please help me in understanding this and how I can improve my performance of the API.
***Edited by Moderator Marije to add Support Case Details; ***