Open Closed

Login response time #8484


User avatar
0
lalit.chougule created
  • ABP Framework version: v8.3.1
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no/yes
  • Exception message and full stack trace: N.A
  • Steps to reproduce the issue: N.A

In our application, I have observed that the time taken to pre-login to the website and to log in for these below requests is on the higher side.

  • On 1st attempt

  • https://api-product.qa.tasconnect.net/api/abp/application-configuration?includeLocalizationResources=false 5.1 sec (pre-login)

  • https://api-product.qa.tasconnect.net/api/abp/application-localization?cultureName=en&onlyDynamics=false 1.29 sec (pre-login)

  • https://identity-product.qa.tasconnect.net/connect/token 5.86 sec

  • https://api-product.qa.tasconnect.net/api/abp/application-configuration?includeLocalizationResources=false 2.02 sec

  • https://api-product.qa.tasconnect.net/api/abp/application-localization?cultureName=en&onlyDynamics=false 2.20 sec

  • On 2nd attempt

  • https://api-product.qa.tasconnect.net/api/abp/application-configuration?includeLocalizationResources=false 1.03 sec (pre-login)

  • https://api-product.qa.tasconnect.net/api/abp/application-localization?cultureName=en&onlyDynamics=false 1.67 sec (pre-login)

  • https://identity-product.qa.tasconnect.net/connect/token 1.22 sec

  • https://api-product.qa.tasconnect.net/api/abp/application-configuration?includeLocalizationResources=false 1.68 sec

  • https://api-product.qa.tasconnect.net/api/abp/application-localization?cultureName=en&onlyDynamics=false 2.22 sec

  • On 3rd attempt

  • https://api-product.qa.tasconnect.net/api/abp/application-configuration?includeLocalizationResources=false 1.26 sec (pre-login)

  • https://api-product.qa.tasconnect.net/api/abp/application-localization?cultureName=en&onlyDynamics=false 1.95 sec (pre-login)

  • https://identity-product.qa.tasconnect.net/connect/token 1.48 sec

  • https://api-product.qa.tasconnect.net/api/abp/application-configuration?includeLocalizationResources=false 1.66 sec

  • https://api-product.qa.tasconnect.net/api/abp/application-localization?cultureName=en&onlyDynamics=false 1.89 sec

Is there a way where we can optimize it to milliseconds? Could you please help us explore the cause of this delay?


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    There are many reasons for low performance, usually, there are too many database requests.

    You can try using some APM to check it, Elastic APM or Azure Application Insights

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08