Open Closed

The api application-configuration is taking too much time #9351


User avatar
0
nguyenngoc.son created

Hi

We are experiencing performance issues with one of our APIs. Based on the browser network trace (attached screenshot), we’ve observed the following problem The request to application-configuration?includeLocalizationResources=false is taking 5.69 seconds to complete, which is significantly longer than expected. Other related API calls (e.g., localization resources, token, and user credentials) are within normal response time (under 1 second).

We want to troubleshoot api application-configuration why it's taking that long to complete.


7 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, can you please share your project details? What is the version, is it tiered, what is the UI, do you use Redis...?

  • User Avatar
    0
    nguyenngoc.son created

    HI I'm using ABP v8.3 with UI using Angular with separate auth server. I have using redis in the API

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    HI I'm using ABP v8.3 with UI using Angular with separate auth server. I have using redis in the API

    Okay, thanks for the details. Since you are using a tiered solution, you should use Redis as the distributed cache server and it seems you are already running the redis-server on your PC. But sometimes there might be connection problems, or wrong configurations, so can you check that in your appsettings.json file, the Redis configuration is correct and if the configuration is correct, can you please share the logs, so I can check better?

    Regards.

  • User Avatar
    0
    nguyenngoc.son created

    Hi, The application is connected to the redis successfully without any issue

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, The application is connected to the redis successfully without any issue

    After the initial request to the 'application-configuration' endpoint, how much time do subsequent requests take? It's not 5 minutes again, right? (I'm asking this to ensure for the subsequent calls it gets the configuration from Redis or not.)

  • User Avatar
    0
    nguyenngoc.son created

    Hi, When user access the site the first time, the endpoint application-configuration take 1.6 second to complete. After login, it take 5.7 seconds

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    [nguyenngoc.son] said: Hi, When user access the site the first time, the endpoint application-configuration take 1.6 second to complete. After login, it take 5.7 seconds

    It is common for the first call to application-configuration to take longer because the server builds and caches the configuration. Subsequent calls should be significantly faster. If not (and it seems it's not in your case), can you share your solution via email to support@abp.io with the ticket number, so I can deeply investigate the potential reason?

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 13, 2025, 11:37