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)
-
0
Hi, can you please share your project details? What is the version, is it tiered, what is the UI, do you use Redis...?
-
0
HI I'm using ABP v8.3 with UI using Angular with separate auth server. I have using redis in the API
-
0
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.
-
0
Hi, The application is connected to the redis successfully without any issue
-
0
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.)
-
0
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
-
0
[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?