Open Closed

ABP Performance Issue #10106


User avatar
0
FurkanSetur created

Hello ABP Team,

We are using ABP framework in one of our projects. This project was built in 2022.

Technical information: Target Framework is net8.0 ABP Framework libraries are 8.0.0 (Volo.Abp.*) LeptonX version is 3.0.0

We have a major problem about page redirections and page loads which composed with ABP components. Average page load time is between 40 and 100 seconds. There are also some javascript files which are loading around 30-40 seconds. (Redis is installed.)

Our team didn’t build this application from scratch. It has been transferred from another team which is not exists in our company now. So we have a limited information about the ABP Framework and how the FW has been used by the previous team.

We installed a profiler library to see page results based on loading time. Here are some examples:

If you need any further information please do not hesitate to contact us. We need your support in order to fix this performance problem urgently.

Best regards,


10 Answer(s)
  • User Avatar
    0
    AI-Bot created
    Support Team ABP Agent

    maliming removed this reply

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I checked your har file, all requests are slow.

    Can you delete the logs.tx and enable debug logs? Then restart the app and reproduce the slow problem, and share the new logs.txt file?

    var loggerConfiguration = new LoggerConfiguration()
        .MinimumLevel.Debug()
        .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Information)
        .Enrich.FromLogContext()
        .WriteTo.Async(c => c.File("Logs/logs.txt"))
    

    https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems

    Thanks.

  • User Avatar
    0
    alper created
    Support Team Director

    As I remember, these endpoints are being cached, so if Redis is running, then only the first request can be slow; other requests must be returned very fast.

  • User Avatar
    0
    FurkanSetur created

    Hi Alper,

    This package is installed. -> Volo.Abp.Caching.StackExchangeRedis IsEnabled set as true in the settings file "Redis": { "IsEnabled": "true", "Configuration": "..." },

    Thanks.

    Hi Ma,

    We couldn't find a way to upload file in here, so we responded to your email.

    Thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @FurkanSetur

    Can you try setting Redis:IsEnabled to false and test again?

    After that, the app will use the Memory cache. Let’s rule out the problem of Redis first.

    Thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Can you try disabling Elastic APM/Elastic APM .NET Agent in your app and test again?

    Thanks.

  • User Avatar
    0
    FurkanSetur created

    Hi Ma,

    When we set Redis:IsEnabled to false, all pages loads very fast and works as expected.

    Our Redis runs in a private network but we don't have any access issues. We can set or read any data via our application. Do you have any suggestions to fix this issue when it's enabled?

    Ps: If you need logs.txt when Redis is false, we can send.

    Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Our Redis runs in a private network

    This indicates a significant delay in communication between the app and Redis Server.

    Redis Server is no problem. It's just that the access speed is slow.

    Thanks.

  • User Avatar
    0
    FurkanSetur created

    Hi,

    We tested several different Redis servers, both private and public servers. Each one was running slowly. When we check the metrics there is no problem about latencies. I attached a ss of a metric sample (public server)

    Can we use "StackExchange.Redis" package instead of "Volo.Abp.Caching.StackExchangeRedis" ? Maybe the problem is because of this package.

    Thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The "Volo.Abp.Caching.StackExchangeRedis" will use StackExchange.Redis to read/write cache.

    There must be some network delay or query delay.


    If you are using a single app and no nodes. You can consider to disable the Redis See https://github.com/abpframework/abp/issues/3487#issuecomment-1820454025

    Thanks.

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 v10.1.0-preview. Updated on December 03, 2025, 13:19
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.