Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

REST service performance degrades when using authentication

SA-88047

Summary



On invoking a Pega REST Service, the service's performance degrades when using authentication.

Use Case 1: With no authentication, the service replies in 0.045 seconds

Use Case 2: With basic authentication, the service replies in 0.317 seconds

Use Case 3: With OAuth authentication, the service replies in 0.196 seconds (All average of 1000 requests.)


Error Messages



Not Applicable


Steps to Reproduce



Use Case 1:
  1. Build a REST Service.
  2. Use no authentication.
  3. Invoke the REST Service from outside the Pega application.

Use Case 2:

  1. Enable basic authentication
  2. Invoke the REST Service from outside the Pega application.
Use Case 3:
  1. Enable OAuth authentication.
  2. Invoke the REST Service from outside the Pega application.


Root Cause



A defect or configuration issue in the operating environment.


Resolution



Here’s the explanation for the reported behavior:

Usage of a database is the main differentiator between no authentication, basic authentication, and OAuth authentication. The database was not configured as an authentication service.
Suggest Edit

Published October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us